wiązanie klasy vue
<div v-bind:class="{ active: isActive }"></div>
Don't Tread On Me
<div v-bind:class="{ active: isActive }"></div>
<div class="defaultclass" :class="condition?' conditionalclasstoappend':''"></div>