docs: add sample app.vue (#26796)

This commit is contained in:
Mehdi 2024-04-16 09:02:55 +01:00 committed by GitHub
parent 324c0df177
commit 86226f45d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -96,6 +96,16 @@ If you only have a single layout in your application, we recommend using [`app.v
::code-group
```vue [app.vue]
<template>
<div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
```
```vue [layouts/default.vue]
<template>
<div>