From 0901337f48aa79f22d177aff9ab2bc9fb3c8a824 Mon Sep 17 00:00:00 2001 From: Idorenyin Udoh Date: Sun, 10 Dec 2023 22:45:51 +0100 Subject: [PATCH] docs: add missing props for `` (#24675) --- docs/3.api/1.components/2.nuxt-page.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/3.api/1.components/2.nuxt-page.md b/docs/3.api/1.components/2.nuxt-page.md index 4556db0cd1..493c5efb1e 100644 --- a/docs/3.api/1.components/2.nuxt-page.md +++ b/docs/3.api/1.components/2.nuxt-page.md @@ -21,8 +21,12 @@ It accepts same `name` and `route` props. - type: `string` - `route`: route location that has all of its components resolved. - type: `RouteLocationNormalized` -- `pageKey:` control when the `NuxtPage` component is re-rendered. +- `pageKey`: control when the `NuxtPage` component is re-rendered. - 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 Nuxt automatically resolves the `name` and `route` by scanning and rendering all Vue component files found in the `/pages` directory.