6864 shaares
In Vue 2, to bind a class from a parent to a child component, the child must have :class="data.staticClass || ''"
In Vue 2, to bind a class from a parent to a child component, the child must have :class="data.staticClass || ''"