-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
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
How can I add a submodule for a Module in vuex-module-decorators? #355
Comments
` @module({ I want the Son to be Father's Module, but I got the error |
|
I came across similar use case recently , below is the way i have implemented
Not sure if this is the best way , but its the only way i found so far. I didn't try wrt dynamic modules |
For this to work, the The problem comes into play when fetching the module using call: vuex-module-decorators/src/vuexmodule.ts Line 64 in 115c24a
defined:
So even though when you force the @championswimmer hope this issue gets updated in your next release. it might be sufficient to just change the module name option from function getNestedState (state, path) {
return path.reduce(function (state, key) { return state[key]; }, state)
} |
No description provided.
The text was updated successfully, but these errors were encountered: