Vue · Junior · Question 45 of 75

How do you create a navigation link without reloading the page?

Explanation

RouterLink renders an <a> with the correct href, handles the click on the client and adds active classes (router-link-active).

Further reading

Problem with a question

Vue · Junior · question 45

Test yourself

Take the Vue · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz