Skip to content

Commit c444914

Browse files
committed
docs(): 修改README
1 parent 504768b commit c444914

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,23 @@ yarn add vue-drag-tree-org
1919
## 使用
2020
```js
2121
# use
22-
import VueDragTree from 'vue-drag-tree-org'
23-
import 'vue-drag-tree-org/lib/theme/index.css'
22+
import VueDragTreeOrg from 'vue-drag-tree-org'
2423

25-
Vue.use(VueDragTree)
24+
Vue.use(VueDragTreeOrg)
2625

2726
# or use
28-
compoents: {
29-
VueDragTree
27+
components: {
28+
VueDragTreeOrg
3029
}
3130
```
3231
## CDN
3332
```html
3433
# css
35-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/lib/theme/index.css">
34+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].19/lib/theme/index.css">
3635

3736
# js
3837
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
39-
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/lib/index.umd.js"></script>
38+
<script src="https://cdn.jsdelivr.net/npm/[email protected].19/lib/index.umd.js"></script>
4039
```
4140

4241
## 相关仓库

0 commit comments

Comments
 (0)