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/04.api/00.options.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -500,6 +500,7 @@ This feature relies on [Nuxt's `experimental.typedRoutes`](https://nuxt.com/docs
500
500
- type: `'absolute' | 'relative'`{lang="ts-type"}
501
501
-`'absolute'`{lang="ts-type"} - locale file and langDir paths contain the full absolute path
502
502
-`'relative'`{lang="ts-type"} - locale file and langDir paths are converted to be relative to the `rootDir`
503
+
-`'off'`{lang="ts-type"} - locale file and langDir paths are used at build-time and stripped from the final build - this will be the default in v10 and will fully replace the absolute and relative configs
503
504
- default: `'absolute'`{lang="ts"}
504
505
- This changes the generated locale file and langDir paths, these paths are absolute by default in v9 (and lower) and could expose sensitive path information to production.
0 commit comments