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
|
||
|---|---|---|
| .. | ||
| animate | ||
| async | ||
| benchpress | ||
| gestures | ||
| hello_world | ||
| http | ||
| jsonp | ||
| key_events | ||
| model_driven_forms | ||
| order_management | ||
| person_management | ||
| relative_assets | ||
| routing | ||
| sourcemap | ||
| svg | ||
| template_driven_forms | ||
| todo | ||
| upgrade | ||
| web_workers | ||
| zippy_component | ||
| bootstrap.ts | ||