mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: fix indentation in "Views" code blocks (#8039)
This commit is contained in:
parent
3218356deb
commit
e5298bfefe
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user