Revision 7bee28d037a8a21a7440293b3e8c118cc93ec8c1 authored by Andrew Kushnir on 03 October 2022, 00:40:59 UTC, committed by Jessica Janiuk on 07 October 2022, 17:28:42 UTC
As of Angular v15, the deprecated `relativeLinkResolution` config option of the Router is removed.  This migration cleans up (removes) the `relativeLinkResolution` fields from the Router config objects in applications code.

```ts
import { RouterModule } from '@angular/router';

RouterModule.forRoot([], {
  relativeLinkResolution: 'legacy',
  enableTracing: false,
});
```

```ts
import { RouterModule } from '@angular/router';

RouterModule.forRoot([], {
  // the `relativeLinkResolution` is removed
  enableTracing: false,
});
```

PR Close #47604
1 parent 739e689
History
File Mode Size
fonts.google.com
github.com
README.md -rw-r--r-- 2.0 KB

README.md

back to top