Skip to content

Commit

Permalink
docs(): 修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdabaoqq committed Jan 5, 2021
1 parent 504768b commit c444914
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,23 @@ yarn add vue-drag-tree-org
## 使用
```js
# use
import VueDragTree from 'vue-drag-tree-org'
import 'vue-drag-tree-org/lib/theme/index.css'
import VueDragTreeOrg from 'vue-drag-tree-org'

Vue.use(VueDragTree)
Vue.use(VueDragTreeOrg)

# or use
compoents: {
VueDragTree
components: {
VueDragTreeOrg
}
```
## CDN
```html
# css
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/lib/theme/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].19/lib/theme/index.css">

# js
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/lib/index.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].19/lib/index.umd.js"></script>
```

## 相关仓库
Expand Down

0 comments on commit c444914

Please sign in to comment.