API Documentation • Docs
API Documentation / RouterView
Variable: RouterView()
const
RouterView: () =>object
Component to display the current route the user is at.
Returns
object
$props
$props:
AllowedComponentProps
&ComponentCustomProps
&VNodeProps
&RouterViewProps
$slots
$slots:
object
$slots.default()?
optional
default: (__namedParameters
) =>VNode
<RendererNode
,RendererElement
,object
>[]
Parameters
• __namedParameters
• __namedParameters.Component: VNode
<RendererNode
, RendererElement
, object
>
• __namedParameters.route: RouteLocationNormalizedLoadedGeneric
Returns
VNode
<RendererNode
, RendererElement
, object
>[]