Router

A Router object for configuring a set of routes.

Overview

You can use a Router to specify how frames are nested in one another. The routes property defines a nested list of frames.

For more information, see Routes and router outlets.

RouterConfig

Name Type Required Description
kind "Router" Yes The router can be used to navigate between frames in the solution
routes List<RouteConfig> No List of frames

RouteConfig

Name Type Required Description
frame string Yes The frame to which you want to route
children List<RouteConfig> No Children are used to define sub-routes