Skip to content
Advertisement

Tag: vue-component

Vue 3: wrap all items within a slot with a custom component by using a render function

I am trying to build my own sortable component. I want to pass a list of items to it’s default slot. The sortable component should then wrap all passed items with a custom v-draggable component. Now withn my v-sortable component I am trying to wrap all given nodes within default slot with a custom v-draggable component. My v-sortable component looks

Advertisement