Slots
Dynamic Slot Names
<template v-slot:[dynamicSlotName]>
<!-- content for the dynamic slot -->
</template>Scoped Slots
<MyComponent v-slot="{ text, count }">
{{ text }} {{ count }}
</MyComponent>Named Scoped Slots
<MyComponent>
<template #header="headerProps">
{{ headerProps }}
</template>
</MyComponent>Fancy List Example
Renderless Components
Last updated