Vuex Interop
-
Are there any Vuex interop examples people can point me to?
I have come up with several non-optimal approaches, and am getting confused.
E.g. I suspect something like this should work, but does not…
<q-select v-model="mutlipleSelect" ... /> //computed mutlipleSelect: { get() { return [... this.$store.mutlipleSelect] }, set(xs) { this.$store.dispatch('updateMutlipleSelect', xs) } }
-
any luck with this? i am doing something similar, but when i have the vuex strict, i get the following error.
[Vue warn]: Error in callback for watcher “function () { return this._data.$$state }”: “Error: [vuex] Do not mutate vuex store state outside mutation handlers.”