We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm looking to use this to dynamically add / remove Vuex stores. Has anyone come across this?
Vuex has a unregisterModule function for this purpose - just wondering the best way to use it with this library.
unregisterModule
https://vuex.vuejs.org/guide/modules.html#dynamic-module-registration
Thanks!
The text was updated successfully, but these errors were encountered:
Well, you can just unregister the module using the store, e.g.
// register.ts import store from "./store" @Module class MyModule extends VuexModule { // ... } const myModule = new MyModule({ name: "myModule", store }) // unregister.ts import store from "./store" store.unregisterModule("myModule")
Sorry, something went wrong.
No branches or pull requests
I'm looking to use this to dynamically add / remove Vuex stores. Has anyone come across this?
Vuex has a
unregisterModule
function for this purpose - just wondering the best way to use it with this library.https://vuex.vuejs.org/guide/modules.html#dynamic-module-registration
Thanks!
The text was updated successfully, but these errors were encountered: