-
The documentation regarding the global scope is not clear to me: https://vue-i18n.intlify.dev/guide/advanced/composition.html#global-scope
The only problem would be a conflict with another lib that also want to use the global scope? In that case why pushing so many property in the global scope instead of only $i18n and then wrap everything under that? Calling useI18n() in setup will create a new instance each time? Or it's the same instance and have no performance penalties compared to the global scope? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The answer is in another part of the documentation https://vue-i18n.intlify.dev/guide/essentials/scope.html
|
Beta Was this translation helpful? Give feedback.
The answer is in another part of the documentation https://vue-i18n.intlify.dev/guide/essentials/scope.html