Questions tagged [routerlink]

This is used by Angular (2+ maybe Angular JS too -not sure of that) to control navigation between UI components. It acts like a Controller/traffic cop, passing state information on via a URL. Here is the official link to the documentation

312 questions
163
votes
4 answers

Difference between [routerLink] and routerLink

What is the difference between [routerLink] and routerLink ? How should you use each one?
Eslam Tahoon
  • 2,205
  • 4
  • 15
  • 21
138
votes
7 answers

How to VueJS router-link active style

My page currently has Navigation.vue component. I want to make the each navigation hover and active. The hover works but active doesn't. This is how Navigation.vue file looks like :