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. * 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` * `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>/` * 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> <details>
@ -131,6 +131,7 @@ app/
app.config.ts app.config.ts
app.vue app.vue
router.options.ts router.options.ts
layers/
modules/ modules/
node_modules/ node_modules/
public/ public/