Why $i18n
scope is different between composition API and Legacy API
#993
Unanswered
LasyIsLazy
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is Composition API limitation. Although the Legacy API in vue-i18n behaves as much as possible like the previous vue-i18n v8.x for APIs prefixed with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In Legacy mode,
$i18n
always refers to the local scope instance, but in Composition mode, it seems that$i18n
always refers to the global composer. It's confusing$i18n
refers to different scope when the mode change.Beta Was this translation helpful? Give feedback.
All reactions