mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
docs: flatten top-level project in layers example (#18967)
Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: pooya parsa <pyapar@gmail.com>
This commit is contained in:
parent
27d68f67c3
commit
523b495e1d
@ -25,15 +25,15 @@ Additionally, certain other files in the layer directory will be auto-scanned an
|
|||||||
|
|
||||||
::code-group
|
::code-group
|
||||||
|
|
||||||
```ts{}[app/nuxt.config.ts]
|
```ts{}[nuxt.config.ts]
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
extends: [
|
extends: [
|
||||||
'../base'
|
'./base'
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
```vue{}[app/app.vue]
|
```vue{}[app.vue]
|
||||||
<template>
|
<template>
|
||||||
<BaseComponent/>
|
<BaseComponent/>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user