Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/content/3.api/2.components/1.nuxt-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

`<NuxtPage>` is a built-in component that comes with Nuxt. `NuxtPage` component is required to display top-level or nested pages located in the `/pages` directory.

`NuxtPage` is a wrapper around [`<RouterView>`](https://router.vuejs.org/api/#router-view-props) component from Vue Router. `NuxtPage` component accepts same `name` and `route` props.
`NuxtPage` is a wrapper around [`<RouterView>`](https://router.vuejs.org/api/#router-view-props) component from Vue Router. `NuxtPage` component accepts same `name` and `route` props.

- **name:** type: `string`

Expand All @@ -20,7 +20,7 @@ Apart from the `name` and `route`, `NuxtPage` component also accepts `pageKey` p

`pageKey` helps control when the `NuxtPage` component is re-rendered.

## Example
## Example

For example, passing `static` key, `NuxtPage` component is rendered only once when it is mounted.

Expand Down