diff --git a/docs/3.api/3.utils/define-page-meta.md b/docs/3.api/3.utils/define-page-meta.md index a6e2b0a306..71c460a241 100644 --- a/docs/3.api/3.utils/define-page-meta.md +++ b/docs/3.api/3.utils/define-page-meta.md @@ -25,6 +25,7 @@ definePageMeta(meta: PageMeta) => void interface PageMeta { validate?: (route: RouteLocationNormalized) => boolean | Promise | Partial | Promise> redirect?: RouteRecordRedirectOption + path?: string alias?: string | string[] pageTransition?: boolean | TransitionProps layoutTransition?: boolean | TransitionProps @@ -45,6 +46,12 @@ interface PageMeta { An object accepting the following page metadata: + **`path`** + + - **Type**: `string` + + You may define a path matcher, if you have a more complex pattern than can be expressed with the file name. + **`alias`** - **Type**: `string | string[]`