[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

View File

@@ -7,6 +7,7 @@ The PasswordInput component is usually used with [NumberKeyboard](#/en-US/number
### Install
``` javascript
import Vue from 'vue';
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);

View File

@@ -5,7 +5,9 @@
密码输入框组件通常与 [数字键盘](#/zh-CN/number-keyboard) 组件配合使用
### 引入
``` javascript
import Vue from 'vue';
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);