You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/migration/vue3.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,12 @@ From Vue I18n v9.2, the Legacy API mode can also be used with Composition API mo
16
16
17
17
### Limitations
18
18
19
-
**The Composition API in Legacy API mode does not support SSR**, So You should understand as a limited feature for migration.
19
+
:::warning NOTICE
20
+
You should understand as a limited feature for migration.
21
+
:::
22
+
23
+
- The Composition API in Legacy API mode does not support SSR
24
+
- If you want to use correctly Vue I18n Composition API (e.g `t`) on `setup` function context directly not `<template>`, you need to call via `nextTick` callback context.
20
25
21
26
### How to migration
22
27
@@ -29,7 +34,7 @@ import { createI18n } from 'vue-i18n'
29
34
30
35
consti18n=createI18n({
31
36
locale:'en',
32
-
allowCompositoin:true, // you need to specify that!
37
+
allowComposition:true, // you need to specify that!
Copy file name to clipboardExpand all lines: docs/ja/guide/migration/vue3.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,12 @@ From Vue I18n v9.2, the Legacy API mode can also be used with Composition API mo
18
18
19
19
### Limitations
20
20
21
-
**The Composition API in Legacy API mode does not support SSR**, So You should understand as a limited feature for migration.
21
+
:::warning NOTICE
22
+
You should understand as a limited feature for migration.
23
+
:::
24
+
25
+
- The Composition API in Legacy API mode does not support SSR
26
+
- If you want to use correctly Vue I18n Composition API (e.g `t`) on `setup` function context directly not `<template>`, you need to call via `nextTick` callback context.
22
27
23
28
### How to migration
24
29
@@ -31,7 +36,7 @@ import { createI18n } from 'vue-i18n'
31
36
32
37
consti18n=createI18n({
33
38
locale:'en',
34
-
allowCompositoin:true, // you need to specify that!
39
+
allowComposition:true, // you need to specify that!
0 commit comments