Skip to content

Commit c222fe7

Browse files
committed
docs: mention layers in directory guide
1 parent 3f895ef commit c222fe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/1.getting-started/12.upgrade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Nuxt now defaults to a new directory structure, with backwards compatibility (so
109109

110110
* the new Nuxt default `srcDir` is `app/` by default, and most things are resolved from there.
111111
* `serverDir` now defaults to `<rootDir>/server` rather than `<srcDir>/server`
112-
* `modules` and `public` are resolved relative to `<rootDir>` by default
112+
* `layers`, `modules` and `public` are resolved relative to `<rootDir>` by default
113113
* a new `dir.app` is added, which is the directory we look for `router.options.ts` and `spa-loading-template.html` - this defaults to `<srcDir>/`
114114

115115
<details>
@@ -131,6 +131,7 @@ app/
131131
app.config.ts
132132
app.vue
133133
router.options.ts
134+
layers/
134135
modules/
135136
node_modules/
136137
public/

0 commit comments

Comments
 (0)