docs: fix indentation in "Views" code blocks (#8039)

This commit is contained in:
Toni 2022-10-07 19:00:51 +01:00 committed by GitHub
parent 3218356deb
commit e5298bfefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ To use pages, create `pages/index.vue` file and add `<NuxtPage />` component to
```vue [pages/index.vue]
<template>
<div>
<h1>Welcome to the homepage</h1>
<h1>Welcome to the homepage</h1>
<AppAlert>
This is an auto-imported component
</AppAlert>
@ -104,7 +104,7 @@ If you only have a single layout in your application, we recommend using app.vue
<template>
<div>
<AppHeader />
<slot />
<slot />
<AppFooter />
</div>
</template>
@ -113,7 +113,7 @@ If you only have a single layout in your application, we recommend using app.vue
```vue [pages/index.vue]
<template>
<div>
<h1>Welcome to the homepage</h1>
<h1>Welcome to the homepage</h1>
<AppAlert>
This is an auto-imported component
</AppAlert>