Router-link-exact-active router-link-active distinction

what is the difference between router-link-exact-active router-link-active? What does it mean to match exactly in the document?

Apr.02,2021

feels like this
/ router can match / router and / router/2
, but if using exact
/ router can only match / router, can't match / router/2


means exact match, take a chestnut:

two routes {path:'/',name:'home',component:Home}, {path:'/about',name:'about',component:About}

for example, under the URL: http://localhost:8080/about path, about is an exact match, and home this is a match, both of which are matched.

Menu