3 ms·
In Vue 2, you'd just write this as: <span :style="{ color }"> Color is: {{ color }}</span> Simpler than this new syntax, for this particular example.
by stevage 5y ago
In Vue 2, you'd just write this as:
<span :style="{ color }"> Color is: {{ color }}</span>
Simpler than this new syntax, for this particular example.