From 5e7cde12655beb7d808febd8e0aa52a6222e9f5c Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 11 Sep 2020 17:26:27 +0200 Subject: [PATCH] docs(api): routerecord.props --- docs/api/index.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/api/index.md b/docs/api/index.md index 00eaafc6..91be993f 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -818,6 +818,16 @@ Route record that can be provided by the user when adding routes via the [`route Before enter guard specific to this record. Note `beforeEnter` has no effect if the record has a `redirect` property. +### props + +- **Type**: `boolean | Record | (to: RouteLocationNormalized) => Record` (Optional) +- **Details**: + + Allows passing down params as props to the component rendered by `router-view`. When passed to a _multiple views record_, it should be an object with the same keys as `components` or a `boolean` to be applied to each component. + target location. + +- **See Also**: [Passing props to Route Components](/guide/essentials/passing-props.md) + ### meta - **Type**: [`RouteMeta`](#routemeta) (Optional) -- 2.47.3