mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
style(docs): lint whitespaces (#5633)
This commit is contained in:
parent
66279aab8b
commit
d4b5ff2d9d
@ -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 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`
|
- **name:** type: `string`
|
||||||
|
|
||||||
@ -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.
|
`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.
|
For example, passing `static` key, `NuxtPage` component is rendered only once when it is mounted.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user