You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm not sure if this is possible but I have my store separated into multiple namespaces, for example like below if I have a "taskStore" with namespaced True. I'll eventually have other namespaced stores but I would like to maintain all of their history
together.
const mutations = {
emptyState(state: State): void {
state.taskStore.tasks = []
},
}
const storeOptions: StoreOptions<State> = scaffoldStore({
modules: {
main: mainModule,
taskStore: taskStoreModule,
},
plugins: [
undoRedo({
// The config object for each store module is defined in the 'paths' array
paths: [
{
namespace: "main",
},
{
namespace: "taskStore",
}
],
}),],
mutations
});
But when I attempt to apply this I get errors like [vuex] unknown mutation type: taskStore/updateCanUndoRedo js/webpack:/node_modules/vuex/dist/vuex.esm.js:460
Any thoughts?
The text was updated successfully, but these errors were encountered:
So I'm not sure if this is possible but I have my store separated into multiple namespaces, for example like below if I have a "taskStore" with namespaced True. I'll eventually have other namespaced stores but I would like to maintain all of their history
together.
But when I attempt to apply this I get errors like
[vuex] unknown mutation type: taskStore/updateCanUndoRedo js/webpack:/node_modules/vuex/dist/vuex.esm.js:460
Any thoughts?
The text was updated successfully, but these errors were encountered: