SortableJS / Vue.Draggable

Vue drag-and-drop component based on Sortable.js
https://sortablejs.github.io/Vue.Draggable/
MIT License
20.18k stars 2.9k forks source link

The error is “Error: draggable element must have an item slot” #1195

Open LaoQinNa opened 1 year ago

LaoQinNa commented 1 year ago

First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md

Jsfiddle link

Step by step scenario

Actual Solution

Expected Solution

I would like to ask why this error occurred when I was clearly involved in the Vue2 project,

In the package.json file: "vue": "^ 2.5.17",

                                  "vue-count-to": "^1.0.13",

                                  "vue-json-excel": "^0.3.0",

                                  "vue-router": "3.0.1",

                                  "vue-seamless-scroll": "^1.1.23",

                                  "vue-video-player": "^5.0.2",

                                  "vue2-leaflet": "^2.7.1",

                                  "vue2-leaflet-rotatedmarker": "^1.0.9",

                                  "vuedraggable": "^4.1.0",
tommy-myers commented 1 year ago

Same issue here as well.

tommy-myers commented 1 year ago

Here is the solution actually https://stackoverflow.com/questions/68040058/draggable-element-must-have-an-item-slot