docs: add component registration link (#8378)
This commit is contained in:
@@ -6,6 +6,8 @@ The PasswordInput component is usually used with [NumberKeyboard](#/en-US/number
|
||||
|
||||
### Install
|
||||
|
||||
Register component globally via `app.use`, refer to [Component Registration](#/en-US/advanced-usage#zu-jian-zhu-ce) for more registration ways。
|
||||
|
||||
```js
|
||||
import { createApp } from 'vue';
|
||||
import { PasswordInput, NumberKeyboard } from 'vant';
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
### 引入
|
||||
|
||||
通过以下方式来全局注册组件,更多注册方式请参考[组件注册](#/zh-CN/advanced-usage#zu-jian-zhu-ce)。
|
||||
|
||||
```js
|
||||
import { createApp } from 'vue';
|
||||
import { PasswordInput, NumberKeyboard } from 'vant';
|
||||
|
||||
Reference in New Issue
Block a user