mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
DEPRECATION:
Use `RouterModule.forRoot(routes, {initialNavigation: 'enabled'})` instead of
`RouterModule.forRoot(routes, {initialNavigtaion: true})`.
Before doing this, move the initialization logic affecting the router
from the bootstrapped component to the boostrapped module.
Similarly, use `RouterModule.forRoot(routes, {initialNavigation: 'disabled'})`
instead of `RouterModule.forRoot(routes, {initialNavigation: false})`.
Deprecated options: 'legacy_enabled', `true` (same as 'legacy_enabled'),
'legacy_disabled', `false` (same as 'legacy_disabled').
The "Router Initial Navigation" design document covers this change.
Read more here:
https://docs.google.com/document/d/1Hlw1fPaVs-PCj5KPeJRKhrQGAvFOxdvTlwAcnZosu5A/edit?usp=sharing
|
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| testing | ||
| .babelrc | ||
| .babelrc-testing | ||
| index.ts | ||
| package.json | ||
| public_api.ts | ||
| tsconfig-build.json | ||
| tsconfig-testing.json | ||