From aa3359155fdb1a7bf400e7fe37a9ef95f99505d3 Mon Sep 17 00:00:00 2001 From: Binbin Sun Date: Tue, 7 Jan 2020 11:27:16 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20install=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/readme.md b/readme.md index 002bc9c..8022add 100644 --- a/readme.md +++ b/readme.md @@ -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``