[Vuejs]-Add different classes to dynamically created elements

0👍

Actually, v-if waits from you only true and false. But you are use in v-if text definition. This is not correctly. Firstly, you can change v-if only conditionally like v-if="{filter.active || filter} " also in your p tag you can type define directly change text {{ filter.active && ‘bla bla’ }}

Leave a comment