Closed schoero closed 1 month ago
Add support for bound classes in vue.
<template> <!-- dirty --> <img v-bind:class="{ 'c b a': someCondition}" /> <!-- clean --> <img v-bind:class="{ 'a b c': someCondition}" /> </template>
<template> <!-- dirty --> <img :class="{ 'c b a': someCondition}" /> <!-- clean --> <img :class="{ 'a b c': someCondition}" /> </template>
closes #30
Add support for bound classes in vue.
closes #30