vue 3 :class code example
Example: vuejs :class
<div
class="static"
v-bind:class="{ active: isActive, 'text-danger': hasError }"
></div>
<div
class="static"
v-bind:class="{ active: isActive, 'text-danger': hasError }"
></div>