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
@@ -5,6 +5,16 @@ description: Follow this guide to upgrade from one major version to the other.
5
5
6
6
## Upgrading from `nuxtjs/i18n` v9.x to v10.x
7
7
8
+
### Dropped Nuxt context functions
9
+
10
+
The following functions have been removed from the Nuxt context.
11
+
*`$resolveRoute()`{lang="ts"}
12
+
*`$localeLocation()`{lang="ts"}
13
+
14
+
Steps to migrate
15
+
*`$resolveRoute()`{lang="ts"} -> use `$localeRoute()` instead
16
+
*`$localeLocation()`{lang="ts"} -> use `$localeRoute()` instead
17
+
8
18
### Drop `bundle.optimizeTranslationDirective`
9
19
This feature has been disabled and the option to enable it has been removed, see [the discussion in this issue](https://github.com/nuxt-modules/i18n/issues/3238#issuecomment-2672492536) for context on this change.
0 commit comments