vuex-easy-access
vuex-easy-access copied to clipboard
Did you manually add `...defaultMutations(state)` to your modules?
lack of demo, installation is to short to understand, i have used like suggested, but error comes.
i use quasarframework,
[vuex-easy-access] Error!
There is no mutation set for 'alquran/ayat_dialog'.
Something went wrong with your vuex-easy-access setup.
Did you manually add ...defaultMutations(state)
to your modules?
See the documentation here:
https://github.com/mesqueeb/VuexEasyAccess#setup
// You can also manually add a mutation like so in the correct module (not recommended!!):
mutations: {
'ayat_dialog': (state, payload) => {
state.ayat_dialog = payload
}
}
Yes you need to manually add that.
Here is the setup documentation that shows that :)
https://mesqueeb.github.io/vuex-easy-access/setup.html#setup