docs: ✏️ install doc

This commit is contained in:
Binbin Sun
2020-01-07 11:27:16 +08:00
parent c1270b880b
commit aa3359155f

View File

@@ -7,6 +7,19 @@ A vue component for tree structure. Support adding treenode/leafnode, editing no
[Live Demo](http://paradeto.com/vue-tree-list/)
# install
Install the plugin then you can use the component globally.
```js
import Vue from 'vue'
import VueTreeList from 'vue-tree-list'
Vue.use(VueTreeList)
```
Or just register locally like the example below.
# use
``npm install vue-tree-list``