0👍
instead of depending on slot for passing your content, why not use props instead?
<template>
<div class="example">
<box>
<div v-text="title">Title</div>
<slot></slot>
</box>
</div>
</template>
<script>
export default {
props: ['title']
}
</script>
- [Vuejs]-How to add custom script to vue component
- [Vuejs]-Vuetify v-select input element does not hold any value
Source:stackexchange.com