v-bind:class dynamic class code example
Example 1: inline style vue
<div :style="{color: ' #f67e7e'}" ></div>
Example 2: vue class binding
<div v-bind:class="[{ active: isActive }, errorClass]"></div>
<div :style="{color: ' #f67e7e'}" ></div>
<div v-bind:class="[{ active: isActive }, errorClass]"></div>