Having built two popular Vuex plugins (vuex-module-decorators
and vuex-persist
), I figured there are often pieces of our app that we reuse over and over again, and building a plugin for Vue or Vuex is idea for such situations. We will take a quick look at what are the steps respectively to build a plugin for Vue itself, or it’s data library Vuex.
Outline
- What are plugins ?
- How are they used (Vue) ?
- How are they used (Vuex) ?
- Wiring up your own plugin (Vue)
- Wiring up you own plugin (Vuex)
- When to make a plugin vs simple npm module
Requirements
- Basic understanding of Vue and Vuex
- Having worked on at least one Vue project
Speaker bio
Arnav currently leads the Mobile Platform team at Zomato which keeps the app lean, fit and stable. He also is the co-founder of Coding Blocks, a software bootcamp where he mentors people in Android, NodeJS and Vue. He has been a long time contributor to multiple open source projects including the Android OS, EmberJS, Vuex and LineageOS.
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}