v if class vuejs code example Example: vue conditional class <div :class="{ 'prop-name': boolVar }"></div>