preFetch & registerModule error
-
I follow this doc https://quasar.dev/quasar-cli/prefetch-feature#Store-Code-Splitting to code-split a store call “admin” however, the registerMoudule will call twice in preFetch and mounted, thus generate a Vuex error below.
[vuex] duplicate namespace admin/ for the namespaced module admin
what’s the best way to solve it?
-
Please create a codepen.io to demonstrate your problem so we can give better support.
here’s someone with the same error:
https://stackoverflow.com/questions/59338642/duplicate-namespace-auth-for-the-namespaced-module-auth