Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 2, 2022
1 parent 0ca6f93 commit 3bab53d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/3.api/2.components/2.nuxt-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can use `<NuxtLayout />` component to activate `default` layout on `app.vue`
</template>
```

`<NuxtLayout />` can also be used to override `default` layout on `app.vue`, `error.vue` or even page components found in the `/pages` directory.
`<NuxtLayout />` can be used to override `default` layout on `app.vue`, `error.vue` or even page components found in the `/pages` directory.

## `name` prop

Expand All @@ -37,7 +37,7 @@ Please note the layout name is normalized to kebab-case, so if your layout file

```vue [/error.vue]
<template>
<NuxtLayout :name="error-layout">
<NuxtLayout name="error-layout">
<NuxtPage />
</NuxtLayout>
</template>
Expand Down

0 comments on commit 3bab53d

Please sign in to comment.