mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: add missing props for <NuxtPage>
(#24675)
This commit is contained in:
parent
700a615553
commit
0901337f48
@ -21,8 +21,12 @@ It accepts same `name` and `route` props.
|
|||||||
- type: `string`
|
- type: `string`
|
||||||
- `route`: route location that has all of its components resolved.
|
- `route`: route location that has all of its components resolved.
|
||||||
- type: `RouteLocationNormalized`
|
- type: `RouteLocationNormalized`
|
||||||
- `pageKey:` control when the `NuxtPage` component is re-rendered.
|
- `pageKey`: control when the `NuxtPage` component is re-rendered.
|
||||||
- type: `string` or `function`
|
- type: `string` or `function`
|
||||||
|
- `transition`: define global transitions for all pages rendered with the `NuxtPage` component.
|
||||||
|
- type: `boolean` or `TransitionProps`
|
||||||
|
- `keepalive`: control state preservation of pages rendered with the `NuxtPage` component.
|
||||||
|
- type: `boolean` or `KeepAliveProps`
|
||||||
|
|
||||||
::callout
|
::callout
|
||||||
Nuxt automatically resolves the `name` and `route` by scanning and rendering all Vue component files found in the `/pages` directory.
|
Nuxt automatically resolves the `name` and `route` by scanning and rendering all Vue component files found in the `/pages` directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user