Is it possible to use slots inside of slots or is there any documentation with examples of each of them?
grafxflow opened this issue · 2 comments
grafxflow commented
Is it possible to use slots inside of slots or is there any documentation on the usage of them all of them such as 'tableWrapper' ?
Or is it possible for me to dupe the views and have more control over the class names etc such as 'php artisan vendor:publish --provider'?
<template>
<Table>
<template v-slot:tableWrapper="slotProps">
<div class="custom-class">
<template v-slot:tableGlobalSearch="slotProps">
<input
placeholder="Custom Global Search Component..."
@input="slotProps.onChange($event.target.value)"
/>
</template>
</div>
</template>
</Table>
</template>
grafxflow commented
For now I have had to duplicate the Components and add an alias for the new directory.
dlearningfr commented
For now I have had to duplicate the Components and add an alias for the new directory.
Could you tell how you did it ?
I'm looking to remove some classes from TableWrapper because it's a mess right now.
I think some other way would be nice.