In this viodeo i have shown how to generate new component and create routing. How you can include HeaderComponent or any Component in any others Component and also route as per click. Suppose, if you click home menu then it will be opened HomeComponent and similarly if you click about menu then it will be opened AboutComponent. If also there are ADD button in HomeComponent and you click that button then how to change route into localhost:4200/home/add and also be opned AddComponent
If you don’t know how to download Angular Cli structure of project and create new component, here is the link of this video:-
THANKS FOR WATCHING
””””””””””””””””””””””””””””””””””””””””””””””’
Follow me on:-
Facebook Page:-
Facebook Page:-
Instagram:-
Linkedin:-
Twitter:-
Codepen:-
#angular #routinginangular
Nguồn: https://rmacct.org/
Xem thêm bài viết khác: https://rmacct.org/cong-nghe/
Xem thêm Bài Viết:
- Đánh giá nhanh bo mạch chủ ASROCK X470 TAICHI ULTIMATE
- Cách tắt ứng dụng chạy ngầm android samsung, oppo, xiaomi, realme
- Không thể phá khối EXPLODE được Block trong autocad // Lệnh X (xplode) // Mẹo vặt autocad
- The RX 580 Is Still An AMAZING GPU For Mining Today!
- Gigabyte RX 580 Aorus 8GB 256 bits GDDR5 đánh giá tổng thể và test 6 game 4k & full HD
Thank you man, i been searching how to make routerLink active when first page load.