[Doc] update install guide (#4083)

This commit is contained in:
neverland
2019-08-10 11:11:10 +08:00
committed by GitHub
parent 8aaffc807b
commit cf92bb122a
122 changed files with 144 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@ The SwitchCell component will be deprecated in version 3.0. Please use the Cell
### Install
``` javascript
import Vue from 'vue';
import { SwitchCell } from 'vant';
Vue.use(SwitchCell);
+1
View File
@@ -7,6 +7,7 @@
### 引入
``` javascript
import Vue from 'vue';
import { SwitchCell } from 'vant';
Vue.use(SwitchCell);