docs: update install guide
This commit is contained in:
@@ -4,16 +4,11 @@
|
||||
|
||||
``` javascript
|
||||
import Vue from 'vue';
|
||||
import {
|
||||
GoodsAction,
|
||||
GoodsActionButton,
|
||||
GoodsActionIcon
|
||||
} from 'vant';
|
||||
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
|
||||
|
||||
Vue
|
||||
.use(GoodsAction)
|
||||
.use(GoodsActionButton)
|
||||
.use(GoodsActionIcon);
|
||||
Vue.use(GoodsAction);
|
||||
Vue.use(GoodsActionButton);
|
||||
Vue.use(GoodsActionIcon);
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -4,16 +4,11 @@
|
||||
|
||||
``` javascript
|
||||
import Vue from 'vue';
|
||||
import {
|
||||
GoodsAction,
|
||||
GoodsActionIcon,
|
||||
GoodsActionButton
|
||||
} from 'vant';
|
||||
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
|
||||
|
||||
Vue
|
||||
.use(GoodsAction)
|
||||
.use(GoodsActionIcon)
|
||||
.use(GoodsActionButton);
|
||||
Vue.use(GoodsAction);
|
||||
Vue.use(GoodsActionButton);
|
||||
Vue.use(GoodsActionIcon);
|
||||
```
|
||||
|
||||
## 代码演示
|
||||
|
||||
Reference in New Issue
Block a user