mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
docs: add sample app.vue (#26796)
This commit is contained in:
parent
324c0df177
commit
86226f45d4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user