mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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
|
::code-group
|
||||||
|
|
||||||
|
```vue [app.vue]
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<NuxtLayout>
|
||||||
|
<NuxtPage />
|
||||||
|
</NuxtLayout>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
```
|
||||||
|
|
||||||
```vue [layouts/default.vue]
|
```vue [layouts/default.vue]
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user