0👍
✅
You can do this if that’s what you mean?
<div class="someStaticClass" :class="{dynamicClassHere: ifConditionIsTrue}">...</div>
You could use a computed property to give you back the class name string based on some other logic then always return true in the if condition.
<div class="someStaticClass" :class="{computedProperty: true}">...</div>
Source:stackexchange.com