| | |
| | | import Avue from '@smallwei/avue' |
| | | import '@smallwei/avue/lib/index.css' |
| | | import avueUeditor from 'avue-plugin-ueditor' |
| | | import crudCommon from '@/mixins/crud.js' |
| | | import { getScreen } from './utils/util' |
| | | import './permission' |
| | | import error from './error' |
| | |
| | | // 系统组件 |
| | | import debug from './debug' |
| | | import VueClipboard from 'vue3-clipboard' |
| | | import basicBlock from './components/basic-block/main.vue' |
| | | import basicContainer from './components/basic-container/main.vue' |
| | | import SvgIcon from './components/SvgIcon.vue' |
| | | import thirdRegister from './components/third-register/main.vue' |
| | | import flowDesign from './components/flow-design/main.vue' |
| | | import flowDesignStep from './components/flow-design-step/main.vue' |
| | | import SvgIcon from './appComponents/SvgIcon.vue' |
| | | // 全局组件 |
| | | import globalComponents from '@/components' |
| | | import globalComponents from '@/appComponents' |
| | | import globalDirections from '@/directive' |
| | | |
| | | import { onResize, pxToRem } from '@/utils/rem' |
| | | onResize() |
| | | import 'virtual:svg-icons-register' |
| | | window.$crudCommon = crudCommon |
| | | debug() |
| | | window.axios = axios |
| | | |
| | |
| | | for (const [key, component] of Object.entries(ElementPlusIconsVue)) { |
| | | app.component(key, component) |
| | | } |
| | | app.component('basicContainer', basicContainer) |
| | | app.component('basicBlock', basicBlock) |
| | | app.component('thirdRegister', thirdRegister) |
| | | app.component('flowDesign', flowDesign) |
| | | app.component('flowDesignStep', flowDesignStep) |
| | | app.component('SvgIcon', SvgIcon) |
| | | // app.component('codeSetting', codeSetting); |
| | | // app.component('formSetting', formSetting); |
| | | // app.component('tenantPackage', tenantPackage); |
| | | // app.component('tenantDatasource', tenantDatasource); |
| | | app.config.globalProperties.$app = app |
| | | app.config.globalProperties.$dayjs = dayjs |
| | | app.config.globalProperties.website = website |