docs(router): fixed verbiage about router-outlet (#2746)
This commit is contained in:
commit
d63b1ccea3
|
@ -143,10 +143,10 @@ include ../_util-fns
|
||||||
### Router Outlet
|
### Router Outlet
|
||||||
Given this configuration, when the browser URL for this application becomes `/heroes`,
|
Given this configuration, when the browser URL for this application becomes `/heroes`,
|
||||||
the router matches that URL to the `Route` path `/heroes` and displays the `HeroListComponent`
|
the router matches that URL to the `Route` path `/heroes` and displays the `HeroListComponent`
|
||||||
in a **`RouterOutlet`** that we've placed in the host view's HTML.
|
***after*** a **`RouterOutlet`** that we've placed in the host view's HTML.
|
||||||
code-example(language="html").
|
code-example(language="html").
|
||||||
<!-- Routed views go here -->
|
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
|
<!-- Routed views go here -->
|
||||||
:marked
|
:marked
|
||||||
### Router Links
|
### Router Links
|
||||||
Now we have routes configured and a place to render them, but
|
Now we have routes configured and a place to render them, but
|
||||||
|
|
Loading…
Reference in New Issue