docs(Cascader): fix install guide

This commit is contained in:
chenjiahan 2020-12-21 22:25:30 +08:00
parent eaabec940b
commit 9f758b981f
2 changed files with 6 additions and 4 deletions

View File

@ -3,10 +3,11 @@
### Install
```js
import Vue from 'vue';
import { createApp } from 'vue';
import { Cascader } from 'vant';
Vue.use(Cascader);
const app = createApp();
app.use(Cascader);
```
## Usage

View File

@ -7,10 +7,11 @@
### 引入
```js
import Vue from 'vue';
import { createApp } from 'vue';
import { Cascader } from 'vant';
Vue.use(Cascader);
const app = createApp();
app.use(Cascader);
```
## 代码演示