Is there a way to apply CSS classes dynamically in Vue.js?
{{ category.icon }} --> "icon1"
I am trying to achieve the following:
<i :class="category.icon" class="icon icon-"></i>
The desired output should be:
<i class="icon icon-icon1"></i>
Any suggestions on how to remove the spacing between classes?
How can this be implemented in Vue.js?