diff --git a/packages/router/src/router.ts b/packages/router/src/router.ts index b1f1f744cb..334751907b 100644 --- a/packages/router/src/router.ts +++ b/packages/router/src/router.ts @@ -443,7 +443,7 @@ export class Router { * Enables a bug fix that corrects relative link resolution in components with empty paths. * @see `RouterModule` */ - relativeLinkResolution: 'legacy'|'corrected' = 'legacy'; + relativeLinkResolution: 'legacy'|'corrected' = 'corrected'; /** * Creates the router service. diff --git a/packages/router/src/router_module.ts b/packages/router/src/router_module.ts index a9eda6529f..974839fa36 100644 --- a/packages/router/src/router_module.ts +++ b/packages/router/src/router_module.ts @@ -425,8 +425,9 @@ export interface ExtraOptions { * * `Link to A` * - * In other words, you're required to use `../` rather than `./`. This is currently the default - * behavior. Setting this option to `corrected` enables the fix. + * In other words, you're required to use `../` rather than `./`. + * + * The default in v11 is `corrected`. */ relativeLinkResolution?: 'legacy'|'corrected'; }