docs: add component registration link (#8378)
This commit is contained in:
@@ -6,6 +6,8 @@ Quickly and easily create layouts with `van-row` and `van-col`.
|
||||
|
||||
### 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 { Col, Row } from 'vant';
|
||||
|
||||
@@ -6,6 +6,8 @@ Layout 提供了 `van-row` 和 `van-col` 两个组件来进行行列布局。
|
||||
|
||||
### 引入
|
||||
|
||||
通过以下方式来全局注册组件,更多注册方式请参考[组件注册](#/zh-CN/advanced-usage#zu-jian-zhu-ce)。
|
||||
|
||||
```js
|
||||
import { createApp } from 'vue';
|
||||
import { Col, Row } from 'vant';
|
||||
|
||||
Reference in New Issue
Block a user