Closed WebDevRock closed 6 years ago
You can define slots. Look if it is working for you.
<vue-word-cloud v-bind="myWordCloudOptions">
<template slot-scope="{text, color}">
<span :style="{color: `${color} !important`}">{{ text }}</span>
</template>
</vue-word-cloud>
Because Bootstrap is naughty and uses !important in the @print media setting the generated WordCloud styles are stripped if you print them.
Would be good if you could use an inline !important to counteract that annoyance.