docs: update component registration guide

This commit is contained in:
chenjiahan
2020-08-20 23:32:07 +08:00
parent 9a86e9e6ca
commit d42b1b43c3
124 changed files with 450 additions and 303 deletions
+4 -3
View File
@@ -7,11 +7,12 @@ Quickly and easily create layouts with `van-row` and `van-col`
### Install
```js
import Vue from 'vue';
import { createApp } from 'vue';
import { Col, Row } from 'vant';
Vue.use(Col);
Vue.use(Row);
const app = createApp();
app.use(Col);
app.use(Row);
```
## Usage