import { make } from 'vuex-pathify'
export default {
namespaced: true,
getters,
mutations: {
...make.mutations,
...mutations
},
actions,
state
}
This would mean that the mutation SET_STATE should be created automatically by the helper. However, when I click on the button to set the value completed for the object ID1 the following error is thrown:
Unable to map path tasks/tasks@ID1.completed - Did not find action setTasks or mutation SET_TASKS on module tasks.
I have no pathify specific config. so I would expect that the default value for deep which is 1 would allow the mutation of a sub property. So there's probably something wrong with my syntax. Thank you for having a look.
I have a button on my component like this:
store/tasks/state.js
/store/tasks/index.js
This would mean that the mutation
SET_STATE
should be created automatically by the helper. However, when I click on the button to set the value completed for the objectID1
the following error is thrown:I have no
pathify
specific config. so I would expect that the default value fordeep
which is1
would allow the mutation of a sub property. So there's probably something wrong with my syntax. Thank you for having a look.Side note, the following works fine: