Add content for router outlets (#2236)
* Update 101-router-outlets.md * Update 101-router-outlets.mdpull/2212/head^2
parent
fd4b008315
commit
089a701df0
1 changed files with 8 additions and 1 deletions
@ -1 +1,8 @@ |
|||||||
# Router outlets |
# Router outlets |
||||||
|
|
||||||
|
The router-outlet is a directive that's available from the @angular/router package and is used by the router to mark where in a template, a matched component should be inserted. |
||||||
|
|
||||||
|
Thanks to the router outlet, your app will have multiple views/pages and the app template acts like a shell of your application. Any element, you add to the shell will be rendered in each view, only the part marked by the router outlet will be changed between views. |
||||||
|
|
||||||
|
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||||
|
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://angular.io/api/router/RouterOutle'>Understanding Router Outlets</BadgeLink> |
||||||
|
Loading…
Reference in new issue