Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants