[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -8,9 +8,9 @@ import {
|
||||
GoodsActionMiniBtn
|
||||
} from 'vant';
|
||||
|
||||
Vue.component(GoodsAction.name, GoodsAction);
|
||||
Vue.component(GoodsActionBigBtn.name, GoodsActionBigBtn);
|
||||
Vue.component(GoodsActionMiniBtn.name, GoodsActionMiniBtn);
|
||||
Vue.use(GoodsAction);
|
||||
Vue.use(GoodsActionBigBtn);
|
||||
Vue.use(GoodsActionMiniBtn);
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
Reference in New Issue
Block a user