百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

Easy-DnD

> 前端框架
开源

适用于 Vue.js 2 和 3 的拖放实现 https://codesandbox.io/s/easy-dnd-demo-9mbij https://codesandbox.io/s/easy-dnd-demo-2-xnqbz

395 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

适用于 Vue.js 2 和 3 的拖放实现 https://codesandbox.io/s/easy-dnd-demo-9mbij https://codesandbox.io/s/easy-dnd-demo-2-xnqbz

Vue Easy DnD — Vue 3 Drag and Drop Library

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.

What this package helps with

  • Make a source item draggable with Drag
  • Make a target accept dropped items with Drop
  • Build reorderable lists with DropList (drag to reorder, or move between lists)
  • Ignore drops in specific zones using DropMask
  • Use useDrag, useDrop, and useDragAware when you need custom logic instead of a full component
  • Restrict what can be dropped using type/data rules (accepts-type and accepts-data)
  • Support copy/cut-style interactions and list events like reorder and insert
  • Customize the drag preview with drag-image

Install

bash
npm install vue-easy-dnd@^3

Vue ^3.2.25 is required. The distributed JavaScript targets ES2022.

Quick example

xml

  
    

  

  
    Drop zone
  

  
Drag in progress

For examples like dashboards, nested zones, and full list workflows, use the linked docs and demos.

Docs and examples

View Documentation

  • All demos
  • Version 3 migration guide
  • Dashboard demo on homepage

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptdnddrag-and-dropjavascriptsortable

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架