-
Notifications
You must be signed in to change notification settings - Fork 85
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
Integration with Nuxt.js #10
Comments
Hey @MrRossBennett I'll look into this today! |
Hey @MrRossBennett, I couldn't reproduce your exact problem but I found out, that dynamically registering store modules with
Please let me know if not dynamically registering the store module helps with your problem. |
I'm closing this because of inactivity and because I can't reproduce the exact problem. Please open a new issue with more informations (live code example in the best case) if the problem still exists. Thx. |
I also ran into this problem.
we get the error: PS. Maybe the problem is that Nuxt creates store dynamically |
The problem is solved if you add |
You have to use Namespaces, see #57 (comment) |
@maoberlehner Do i have to use this package in nuxt as plugin entry? |
Hello - currently working on getting this excellent module to work with Nuxt.js. I'm using Nuxt in SSR mode. When I follow your example here, I get:
module namespace not found in mapState():
and...
this.$store.getters[getterType] is not a function
Pretty sure it's to do with when Nuxt inits the Vuex store.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: