Open achtan opened 5 years ago
The whitelist and blacklist options should allow you to mirror this functionality if I am not mistaken.
createPersistedState({
blacklist: ['Onboarding/setSeed']
})
currently i have 11 store modules with avg 6 actions... so its 66 actions and still growing :) ... so maintain so many actions in whitelist array is a byt difficult with 'paths' support i can only specify modules, and thats it :)
createPersistedState({
paths: ['System','CN', 'DB', 'CL', 'DocumentsTree', 'Columns', 'DocumentActions', 'QuickSearches', 'QueryHistory', 'QueryFavorites', 'Settings', 'Tabs']
})
Good points. I'll look into it it might clean my code up a little bit also.
@achtan, unfortunately, I don't have enough time to implement it by myself at the moment. But, please, feel free to open a pull-request with such functionality, I would be happy to merge it.
The best place to start: https://github.com/vue-electron/vuex-electron/blob/master/src/persisted-state.js#L91
Thank you!
The whitelist and blacklist options should allow you to mirror this functionality if I am not mistaken.
No it doesn't seem to work that way. See issue #19 for details.
can please you implement:
from https://github.com/robinvdvleuten/vuex-persistedstate