docs: update install guide

This commit is contained in:
chenjiahan
2020-08-21 11:42:40 +08:00
parent 17379286c8
commit 435c6ee794
4 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -51,10 +51,11 @@ yarn add vant
## 快速上手
```js
import Vue from 'vue';
import { createApp } from 'vue';
import { Button } from 'vant';
import 'vant/lib/index.css';
const app = createApp();
Vue.use(Button);
```