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
The documentation is still not clear enough, such as the parameters in the whitelist are too general.
In my application, vuex contains app, user, win 3 modules. In the main I only use win, the other 2 are used in the renderer, how can I set createPersistedState()
@AshfieldFox
Is there a way to load only the stores that need to communicate with each other in the main process?
If the main process is loaded into the store and the structure in the rendering process is destroyed, the role of vuex-electron will be greatly reduced.
Hey guys,I have the same problem with this. SimulatedGREG/electron-vue#758
The documentation is still not clear enough, such as the parameters in the whitelist are too general.
In my application, vuex contains
app, user, win
3 modules. In the main I only usewin
, the other 2 are used in the renderer, how can I set createPersistedState()`createPersistedState({
whitelist: ["whitelistedMutation", "anotherWhitelistedMutation"],
// or
whitelist: (mutation) => {
return true
},
// or
blacklist: ["ignoredMutation", "anotherIgnoredMutation"],
// or
blacklist: (mutation) => {
return true
}
})`
Help me answer if you have time, thank you
The text was updated successfully, but these errors were encountered: