index.js 619 Bytes
/*
 * @Descripttion:
 * @version:
 * @Author: limin
 * @Date: 2021-06-08 19:20:13
 * @LastEditors: limin
 * @LastEditTime: 2021-06-25 18:09:28
 */
import Vue from "vue";
import loadingPlugin from "./globalLoading/plugin";

Vue.use(loadingPlugin);

const componentsFiles = require.context(`./`, true, /.vue$/);
componentsFiles.keys().forEach((path) => {
	const component = componentsFiles(path).default;
	Vue.component(component.name, component);
});
// export default [Icon, NavBar, TabBar, Organization, CustomerList, CustomerDetail, OrderList, OrderDetail, TimerTabs, CarType, RadioCell, CheckBoxCell, ValidateField]