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/content/docs/02.guide/90.migrating.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,16 @@ We have upgrade from Vue I18n v10 to v11, this major version bump deprecates the
10
10
11
11
Check the documentation detailing the breaking changes [here](https://vue-i18n.intlify.dev/guide/migration/breaking11.html).
12
12
13
+
### Deprecate `$localeHead()`{lang="ts"}
14
+
The `$localeHead()`{lang="ts"} Nuxt context function has been deprecated and will be removed in v11.
15
+
16
+
This context function has limited use cases, the `useLocaleHead` composable offers the same functionality and is easier to use in combination with `useHead`.
17
+
18
+
### Deprecate `$getRouteBaseName()`{lang="ts"} in favor of `$routeBaseName()`{lang="ts"}
19
+
The `$getRouteBaseName()`{lang="ts"} Nuxt context function has been deprecated and will be removed in v11.
20
+
21
+
We are renaming this function to `$routeBaseName()`{lang="ts"} to be consistent with the other context functions and their composable counterparts.
22
+
13
23
### Promote `experimental.autoImportTranslationFunctions` to `autoDeclare`
14
24
This functionality is stable and is now enabled by default, the option has been moved out of the `experimental` configuration object and renamed to `autoDeclare`.
0 commit comments