RouterConfig
RouterConfig:
object
Defined in: router/router.type.ts:151
The router configuration object
used in buildRouter
Type declaration
base?
optional
base:string
The base path of the router
ignoreRouterLink?
optional
ignoreRouterLink:boolean
Whether to ignore router links
layout?
optional
layout:ComponentFunction
The layout component of the router
onNoMatch()?
optional
onNoMatch: () =>void
The function to call when no match is found
Returns
void
routes
routes:
RouteConfig
&object
[]
The routes of the router
useViewTransition?
optional
useViewTransition:boolean
Whether to use view transitions