mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +00:00
docs: mention layers in directory guide
This commit is contained in:
parent
3f895ef845
commit
c222fe7aa9
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user