Skip to content

Commit eee55ea

Browse files
committed
docs: use app/ directory in layer guide
1 parent 6fc25ff commit eee55ea

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/2.guide/3.going-further/7.layers.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ export default defineNuxtConfig({})
1515

1616
Additionally, certain other files in the layer directory will be auto-scanned and used by Nuxt for the project extending this layer.
1717

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
2426
- [`server/*`](/docs/guide/directory-structure/server) - Extend the default server endpoints & middleware
25-
- [`utils/*`](/docs/guide/directory-structure/utils) - Extend the default utils
2627
- [`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
2828

2929
## Basic Example
3030

@@ -58,7 +58,7 @@ Additionally, certain other files in the layer directory will be auto-scanned an
5858
})
5959
```
6060

61-
```vue [base/components/BaseComponent.vue]
61+
```vue [base/app/components/BaseComponent.vue]
6262
<template>
6363
<h1>Extending Components is Fun!</h1>
6464
</template>
@@ -195,7 +195,7 @@ const currentDir = dirname(fileURLToPath(import.meta.url))
195195

196196
export default defineNuxtConfig({
197197
css: [
198-
join(currentDir, './assets/main.css')
198+
join(currentDir, './app/assets/main.css')
199199
]
200200
})
201201
```

0 commit comments

Comments
 (0)