I already have an active-class for the item in a sidebar but how do I change the class of its label when the item is active? I need the span with the class="u-label g-font-size-11 g-bg-primary g-rounded-20 g-px-7 g-ml-3" to have the class="u-label g-font-size-11 g-bg-primary g-rounded-20 g-px-7 g-ml-3 g-color-primary g-bg-white" when I click on Notifications (make the item active).
<router-link to='/notifications'
class="list-group-item justify-content-between g-brd-none list-group-item-action"
active-class="active">
<i class="icon-bell g-pos-rel g-top-1 g-mr-8"></i>
Оповещения
<span v-if="getNotificationsUnviewed > 0"
class="u-label g-font-size-11 g-bg-primary g-rounded-20 g-px-7 g-ml-3">
{{ getNotificationsUnviewed }}
</span>
</router-link>