mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
Add content for router outlets (#2236)
* Update 101-router-outlets.md * Update 101-router-outlets.md
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user