vue.js: failure to set multiple classes with a variable part
Advertisements I need to add few different classes on a div: one is static, another one with a variable, the last one is depending on a inner prop. The next option fails: nothing’s in the output <div v-for="card in cards" :key="card.id" class="card" :class="{`card${card.rank}`,’cardFade’:isFadeProp}"> <span class="card__number">{{ card.rank }} </span> </div> Looks like a problem is in… Read More vue.js: failure to set multiple classes with a variable part