0👍
Try this;
<button class="btn" type="button" @click="doingsomething();activeBtn='btn1'" :class="{active: activeBtn === 'btn1' }">Btn1</button>
- [Vuejs]-Components are not loading with VueRouter
- [Vuejs]-How to arrange Row's and columns for the desired output with different screen sizes:
Source:stackexchange.com