Skip to content
Snippets Groups Projects
index.js 333 B
Newer Older
Julian's avatar
Julian committed
import components from "./components";

const plugin = {
    install(Vue) {
        for (const prop in components) {
            if (components.hasOwnProperty(prop)) {
                const component = components[prop];
                Vue.component(component.name, component);
            }
        }
    }
}

export default plugin;