docs: mention layers in directory guide

This commit is contained in:
Daniel Roe 2024-07-01 23:15:16 +01:00
parent 9f4f4d562e
commit 35f73eba5a
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -109,7 +109,7 @@ Nuxt now defaults to a new directory structure, with backwards compatibility (so
* the new Nuxt default `srcDir` is `app/` by default, and most things are resolved from there.
* `serverDir` now defaults to `<rootDir>/server` rather than `<srcDir>/server`
* `modules` and `public` are resolved relative to `<rootDir>` by default
* `layers`, `modules` and `public` are resolved relative to `<rootDir>` by default
* 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>/`
<details>
@ -131,6 +131,7 @@ app/
app.config.ts
app.vue
router.options.ts
layers/
modules/
node_modules/
public/