SortableJS / vue.draggable.next

Vue 3 compatible drag-and-drop component based on Sortable.js
https://sortablejs.github.io/vue.draggable.next/#/simple
MIT License
3.91k stars 531 forks source link

Add Multidrag and Swap plugin support #153

Open david-mohr opened 2 years ago

david-mohr commented 2 years ago

Big thanks to @divinespear for the original Multidrag support in vue.draggable (https://github.com/SortableJS/Vue.Draggable/pull/1052).

I've ported it to Vue 3 (vue.draggable.next). I've also added support for the Swap plugin!

david-mohr commented 4 months ago

@duoluodexiaoxiaoyuan you need to compile your changes:

npm run build

Be aware though, you might run into this depending on your node version: https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported

duoluodexiaoxiaoyuan commented 4 months ago

@duoluodexiaoxiaoyuan you need to compile your changes:

npm run build

Be aware though, you might run into this depending on your node version: https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported

This is how I understand it. Do I execute npm run build, and then copy the files in the generated dist directory to node_modules?

image

duoluodexiaoxiaoyuan commented 4 months ago

Big thanks to @divinespear for the original Multidrag support in vue.draggable (SortableJS/Vue.Draggable#1052).

I've ported it to Vue 3 (vue.draggable.next). I've also added support for the Swap plugin!

i meet a error Cannot read property 'nextSibling' of undefined, i don't know how to slove it

duoluodexiaoxiaoyuan commented 4 months ago

image