I'm using active class in my router link like this :
<li class="list-group-item">
<router-link :to="{name:'category'}" active-class="active">
Category
</router-link>
</li>
this code is working and the link is active but i want this link to be active on two router link i.e. on category and subcategory how can i achieve this result.
subcategorya child route ofcategory?