Is there a way to only display a slot if it has any content?
For example, I\'m building a simple Card.vue component, and I only want the footer displayed if
Card.vue
In short do this in inline:
div h2(v-if="$slots.title") slot(name="title") h3(v-if="$slots['sub-title']") slot(name="sub-title")