Vuex Cheatsheet
- new Vuex.Store({
- strict: true,
- plugins: [],
- modules: {},
- state: {},
- getters: {},
- mutations: {},
- actions: {},
- namespaced: false
- })
- import map
- mapState()
- mapGetters()
- mapMutations()
- mapActions()
- Instance store
- state
- getters
- commit()
- dispatch()
- Plugin Dev store
- replaceState()
- watch()
- subscribe()
- registerModule()
- unregisterModule()
- hotUpdate()
- Context Object
- state
- rootState
- getters
- rootGetters
- commit()
- dispatch()
Courtesy: vuejs-tips// and @code4mk