分类
Develop javascript Vue

Use vuedraggable to drag across trees or nested trees

It’s super simple to config vuedraggable to Vue project to allow drag and drop, as demonstrated in the official site:

https://sortablejs.github.io/Vue.Draggable/#/nested-example

However, I ran into a problem that can not actually drag across trees. There is little documentation on the Vuedraggable Github.

After checked around a lot and finally found something useful in the SortableJS Github, that have to use same group to allow drag across trees.

发表评论

电子邮件地址不会被公开。 必填项已用*标注