Alfred-Skyblue / vue-draggable-plus

Universal Drag-and-Drop Component Supporting both Vue 3 and Vue 2
https://vue-draggable-plus.pages.dev/en/
MIT License
2.71k stars 106 forks source link

use with defineComponent & tsx,the drag is not work #135

Open TaurusWood opened 1 month ago

TaurusWood commented 1 month ago

In the document, there is no clear example of using defineComponent and tsx to implement drag and drop. According to the writing of the example, I cannot see what vue-draggable-plus determines each dragged item based on. The following is an example of reproduction: https://stackblitz.com/edit/vitejs-vite-5abfwg?file=src%2FApp.vue