@@ -15,16 +15,16 @@ export default defineNuxtConfig({})
15
15
16
16
Additionally, certain other files in the layer directory will be auto-scanned and used by Nuxt for the project extending this layer.
17
17
18
- - [ ` components/* ` ] ( /docs/guide/directory-structure/components ) - Extend the default components
19
- - [ ` composables/* ` ] ( /docs/guide/directory-structure/composables ) - Extend the default composables
20
- - [ ` layouts/* ` ] ( /docs/guide/directory-structure/layouts ) - Extend the default layouts
21
- - [ ` middleware/* ` ] ( /docs/guide/directory-structure/middleware ) - Extend the default middleware
22
- - [ ` pages/* ` ] ( /docs/guide/directory-structure/pages ) - Extend the default pages
23
- - [ ` plugins/* ` ] ( /docs/guide/directory-structure/plugins ) - Extend the default plugins
18
+ - [ ` app/components/* ` ] ( /docs/guide/directory-structure/components ) - Extend the default components
19
+ - [ ` app/composables/* ` ] ( /docs/guide/directory-structure/composables ) - Extend the default composables
20
+ - [ ` app/layouts/* ` ] ( /docs/guide/directory-structure/layouts ) - Extend the default layouts
21
+ - [ ` app/middleware/* ` ] ( /docs/guide/directory-structure/middleware ) - Extend the default middleware
22
+ - [ ` app/pages/* ` ] ( /docs/guide/directory-structure/pages ) - Extend the default pages
23
+ - [ ` app/plugins/* ` ] ( /docs/guide/directory-structure/plugins ) - Extend the default plugins
24
+ - [ ` app/utils/* ` ] ( /docs/guide/directory-structure/utils ) - Extend the default utils
25
+ - [ ` app/app.config.ts ` ] ( /docs/guide/directory-structure/app-config ) - Extend the default app config
24
26
- [ ` server/* ` ] ( /docs/guide/directory-structure/server ) - Extend the default server endpoints & middleware
25
- - [ ` utils/* ` ] ( /docs/guide/directory-structure/utils ) - Extend the default utils
26
27
- [ ` nuxt.config.ts ` ] ( /docs/guide/directory-structure/nuxt-config ) - Extend the default nuxt config
27
- - [ ` app.config.ts ` ] ( /docs/guide/directory-structure/app-config ) - Extend the default app config
28
28
29
29
## Basic Example
30
30
@@ -58,7 +58,7 @@ Additionally, certain other files in the layer directory will be auto-scanned an
58
58
})
59
59
```
60
60
61
- ``` vue [base/components/BaseComponent.vue]
61
+ ``` vue [base/app/ components/BaseComponent.vue]
62
62
<template>
63
63
<h1>Extending Components is Fun!</h1>
64
64
</template>
@@ -195,7 +195,7 @@ const currentDir = dirname(fileURLToPath(import.meta.url))
195
195
196
196
export default defineNuxtConfig ({
197
197
css: [
198
- join (currentDir, ' ./assets/main.css' )
198
+ join (currentDir, ' ./app/ assets/main.css' )
199
199
]
200
200
})
201
201
` ` `
0 commit comments