Routing in angular and use of routerLinkActive (creative developer)



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/

  • Thank you man, i been searching how to make routerLink active when first page load.

    too young to worry July 4, 2020 9:32 am Reply

Leave a Reply

Your email address will not be published. Required fields are marked *