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:
Alois Sečkár 2023-02-14 13:01:37 +01:00 committed by GitHub
parent 27d68f67c3
commit 523b495e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>