ROUTES
constant
The DI token for a router configuration.
Description
The DI token for a router configuration.
ROUTES
is a low level API for router configuration via dependency injection.
We recommend that in almost all cases to use higher level APIs such as RouterModule.forRoot()
,
provideRouter
, or Router.resetConfig()
.
Jump to details