refactor: properly pass scoped slots

This commit is contained in:
axolotle 2024-03-04 04:20:55 +01:00
parent 03b136478a
commit 4abbb4b2fc

View file

@ -34,7 +34,7 @@
flush flush
> >
<!-- PASS THE DEFAULT SLOT WITH SCOPE TO NEXT NESTED COMPONENT --> <!-- PASS THE DEFAULT SLOT WITH SCOPE TO NEXT NESTED COMPONENT -->
<template slot="default" slot-scope="scope"> <template #default="scope">
<slot name="default" v-bind="scope" /> <slot name="default" v-bind="scope" />
</template> </template>
</RecursiveListGroup> </RecursiveListGroup>