Skip to content
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

Vuex v3.1.2 warns when informing an existing module #742

Closed
davidpelayo opened this issue Nov 21, 2019 · 1 comment
Closed

Vuex v3.1.2 warns when informing an existing module #742

davidpelayo opened this issue Nov 21, 2019 · 1 comment

Comments

@davidpelayo
Copy link

Due to this at Vuex v3.1.2, we now get a warning when initialising the usage of the vuex-i18n plugin informing a third parameter, config, containing a specific moduleName.

Within my SPA bootstrapping process, I'm declaring a module named I18nModule with my own state keys and everything, which I then later reuse to inject the managed-by-vue-i18n-translations, to avoid having two different modules for the same purpose.

I'm wondering why instead of reusing the existing one a new one is being created here, leading to the warning.

Any idea on this regard? Help is appreciated. Thanks.

@kazupon
Copy link
Owner

kazupon commented Nov 25, 2019

Thank fou you for the feedback!

vue-i18n does not have a module and namespace.
about vuex-i18n, you can access the here.
https://github.com/dkfbasel/vuex-i18n

@kazupon kazupon closed this as completed Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants