docs(router): fixed verbiage and example of how routed views are related to the router outlet
This commit is contained in:
parent
fa99a8b0b2
commit
37f93bc0cb
|
@ -143,10 +143,10 @@ include ../_util-fns
|
|||
### Router Outlet
|
||||
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`
|
||||
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").
|
||||
<!-- Routed views go here -->
|
||||
<router-outlet></router-outlet>
|
||||
<!-- Routed views go here -->
|
||||
:marked
|
||||
### Router Links
|
||||
Now we have routes configured and a place to render them, but
|
||||
|
|
Loading…
Reference in New Issue