[Vuejs]-Styling v-btn when active as a router-link

0πŸ‘

βœ…

By default it’s v-btn--active:

.v-btn--active {
    background-color: red;
}

Or you can set the active-class prop on the button:

<v-btn text class="white--text btn-links" active-class="active" to="/events" exact>
   EVENTS
</v-btn>

https://codeply.com/p/ny44Thdceo

Leave a comment