filmov
tv
Basic Angular 17 routing example | 2024
Показать описание
In this tutorial I will show you how to use the router-outlet in Angular 17.
We will retrieve information from the route and add a child route.
Additionally we use the router to start a navigation inside a component.
Github Repository:
Timecodes
0:00 - Setup
0:28 - Simple route
1:26 - Redirect
1:40 - Route data
2:17 - Link to route
1:37 - sum function
1:44 - install jest
1:52 - example test
2:57 - Routes with placeholder
4:48 - Child routes
5:28 - Navigate from component
We will retrieve information from the route and add a child route.
Additionally we use the router to start a navigation inside a component.
Github Repository:
Timecodes
0:00 - Setup
0:28 - Simple route
1:26 - Redirect
1:40 - Route data
2:17 - Link to route
1:37 - sum function
1:44 - install jest
1:52 - example test
2:57 - Routes with placeholder
4:48 - Child routes
5:28 - Navigate from component