@@ -23,7 +23,7 @@ const install = function(Vue, opts = {}) {
locale.use(opts.locale);
locale.i18n(opts.i18n);
- components.map(component => {
+ components.forEach(component => {
Vue.component(component.name, component);
});
@@ -145,7 +145,7 @@ const install = function(Vue, opts = {}) {