Skip to content

Commit 20fae1b

Browse files
committed
docs: build error
1 parent 0fc3540 commit 20fae1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/essentials/scope.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If the i18n option is not specified in a component, the global scope is automati
2424

2525
### Local Scope
2626

27-
The local scope in Vue allows you to manage i18n resources on a per-component basis, similar to how <style scoped> works in single-file components. When a component has a local scope, only that component's i18n resources are active. This is particularly useful when you want to manage locale messages specific to each component.
27+
The local scope in Vue allows you to manage i18n resources on a per-component basis, similar to how `<style scoped>` works in single-file components. When a component has a local scope, only that component's i18n resources are active. This is particularly useful when you want to manage locale messages specific to each component.
2828

2929
Local scope is enabled by specifying the i18n option within the component. This creates a new VueI18n instance when the component is initialized. As a result, the VueI18n instance accessed through this.$i18n in that component is distinct from the global VueI18n instance available through the global property of the i18n instance.
3030

0 commit comments

Comments
 (0)