[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -27,8 +27,8 @@ const components = [
|
||||
];
|
||||
|
||||
const install = Vue => {
|
||||
components.forEach(component => {
|
||||
Vue.component(component.name, component);
|
||||
components.forEach(Component => {
|
||||
Vue.use(Component);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user