We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vue-i18n inject the lang field to Vue.config to switch the global language but in ts, we cannot re-define the config field in VueConstructor
lang
Vue.config
config
VueConstructor
extract config to a interface
The text was updated successfully, but these errors were encountered:
refactor: extract VueConfiguration type for easy expansion (vuejs#7273)
485d099
fix vuejs#7273
feat(types): extract VueConfiguration type for easy expansion (#7273) (…
c0d516c
…#7274) fix #7273
feat(types): extract VueConfiguration type for easy expansion (vuejs#…
f8151e6
…7273) (vuejs#7274) fix vuejs#7273
99095b5
f36aea1
Successfully merging a pull request may close this issue.
What problem does this feature solve?
vue-i18n inject the
lang
field toVue.config
to switch the global languagebut in ts, we cannot re-define the
config
field inVueConstructor
What does the proposed API look like?
extract
config
to a interfaceThe text was updated successfully, but these errors were encountered: