适用于 Vue.js 2 和 3 的拖放实现 https://codesandbox.io/s/easy-dnd-demo-9mbij https://codesandbox.io/s/easy-dnd-demo-2-xnqbz
适用于 Vue.js 2 和 3 的拖放实现 https://codesandbox.io/s/easy-dnd-demo-9mbij https://codesandbox.io/s/easy-dnd-demo-2-xnqbz
Vue Easy DnD is a lightweight Vue 3 drag-and-drop component library for mouse and touch interfaces.
Use it to build sortable lists, nested drop zones, dashboards, card transfers, and custom drag-and-drop workflows with TypeScript, SSR, and Nuxt support.
DragDropDropList (drag to reorder, or move between lists)DropMaskuseDrag, useDrop, and useDragAware when you need custom logic instead of a full componentaccepts-type and accepts-data)reorder and insertdrag-imagenpm install vue-easy-dnd@^3Vue ^3.2.25 is required.
The distributed JavaScript targets ES2022.
Drop zone
Drag in progress
For examples like dashboards, nested zones, and full list workflows, use the linked docs and demos.
暂无开放 Issues,或尚未同步最近议题。