mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[Doc] update install guide (#4083)
This commit is contained in:
@@ -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);
|
||||
|
@@ -5,7 +5,9 @@
|
||||
密码输入框组件通常与 [数字键盘](#/zh-CN/number-keyboard) 组件配合使用
|
||||
|
||||
### 引入
|
||||
|
||||
``` javascript
|
||||
import Vue from 'vue';
|
||||
import { PasswordInput, NumberKeyboard } from 'vant';
|
||||
|
||||
Vue.use(PasswordInput).use(NumberKeyboard);
|
||||
|
Reference in New Issue
Block a user