Skip to content

Composition API mode: Why using the Global Scope (or not)? #576

Answered by gagarine
gagarine asked this question in Q&A
Discussion options

You must be logged in to vote

The answer is in another part of the documentation https://vue-i18n.intlify.dev/guide/essentials/scope.html

The local scope allows you to apply scopes on each component basis like the <style scoped> of single-file components, only that component’s scope is enabled. This is very useful if you want to manage the i18n resource like locale messages for each component.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gagarine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant