dragula
1.1、dragula简介
是什么 ?:Drag and drop so simple it hurts.
开发语言:JavaScript
官方主页:https://bevacqua.github.io/dragula
源码仓库:https://github.com/bevacqua/dragula
1.2、通过开源CDN引入dragula

jsDelivr⤵︎

<link  href="https://cdn.jsdelivr.net/npm/dragula@3.7.2/dist/dragula.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/dragula@3.7.2/dist/dragula.min.js">

BootCDN⤵︎

<link  href="https://cdn.bootcdn.net/ajax/libs/dragula/3.7.2/dragula.min.css" rel="stylesheet">
<script src="https://cdn.bootcdn.net/ajax/libs/dragula/3.7.2/dragula.min.js">
1.3、通过下载到本地引入dragula

step1、通过包管理器安装dragula

包管理器安装命令
bowerbower install dragula --save
npmnpm install dragula --save
yarnyarn add dragula

step2、在HTML代码中引入CSSJavaScript

<link  href="/bower_components/dragula/dist/dragula.min.css" rel="stylesheet">
<script src="/bower_components/dragula/dist/dragula.min.js"></script>
1.4、使用dragula