<button class="initial" :class="{'is-active': activeTab === 1}" name="button">START</button>
<style> .is-active { color: blue } .initial { color: red; } <style>
.initial
.is-active
color
initial
<button :class="activeTab === 1 ? 'is-active':'initial'" name="button">START</button>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)