diff --git a/packages/router/src/router_config_loader.ts b/packages/router/src/router_config_loader.ts index 0810b785a9..e401e349fd 100644 --- a/packages/router/src/router_config_loader.ts +++ b/packages/router/src/router_config_loader.ts @@ -16,7 +16,12 @@ import {standardizeConfig} from './utils/config'; /** * The [DI token](guide/glossary/#di-token) for a router configuration. - * @see `ROUTES` + * + * `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()`, + * `RouterModule.forChild()`, `provideRoutes`, or `Router.resetConfig()`. + * * @publicApi */ export const ROUTES = new InjectionToken('ROUTES');