v-bind:class="{ active: isActive, 'text-danger': hasError }" // or :class="{ active: isActive, 'text-danger': hasError }"