docs: update install guide

This commit is contained in:
陈嘉涵
2020-01-16 20:58:32 +08:00
parent d57705c67e
commit 80568816e3
35 changed files with 82 additions and 59 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ The PasswordInput component is usually used with [NumberKeyboard](#/en-US/number
import Vue from 'vue';
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);
```
## Usage
+2 -1
View File
@@ -10,7 +10,8 @@
import Vue from 'vue';
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);
```
## 代码演示