| | |
| | | import Vue from 'vue' |
| | | |
| | | import Cookies from 'js-cookie' |
| | | |
| | | // global css |
| | | // import 'virtual:uno.css'; |
| | | import '@/assets/styles/index.scss'; |
| | | import Element from 'element-ui' |
| | | import './assets/styles/element-variables.scss' |
| | | |
| | | // 高亮组件 |
| | | // import 'highlight.js/styles/a11y-light.css'; |
| | | // import 'highlight.js/styles/atom-one-dark.css'; |
| | | // import 'highlight.js/lib/common'; |
| | | // import HighLight from '@highlightjs/vue-plugin'; |
| | | |
| | | // // svg图标 |
| | | // import 'virtual:svg-icons-register'; |
| | | // import ElementIcons from '@/plugins/svgicon'; |
| | | |
| | | import '@/assets/styles/index.scss' // global css |
| | | import '@/assets/styles/ruoyi.scss' // ruoyi css |
| | |
| | | import VueMeta from 'vue-meta' |
| | | // 字典数据组件 |
| | | import DictData from '@/components/DictData' |
| | | // 自定义搜索、控制表头显隐按钮 |
| | | import VisibilityToolbar from '@/components/VisibilityToolbar' |
| | | |
| | | // vform 表单设计器 |
| | | import vform from '@/components/vform/VFormDesigner.umd.min.js' |
| | | import '@/components/vform/VFormDesigner.css' |
| | | // import 'vform-builds/dist/VFormDesigner.css' //引入VForm样式 |
| | | import modelerStore from '@/components/Process/common/global' |
| | | //同时注册了v-form-designer、v-form-render等组件 |
| | | |
| | | |
| | | // 全局方法挂载 |
| | | Vue.prototype.modelerStore = modelerStore |
| | | Vue.prototype.getDicts = getDicts |
| | | Vue.prototype.getConfigKey = getConfigKey |
| | | Vue.prototype.parseTime = parseTime |
| | |
| | | Vue.component('FileUpload', FileUpload) |
| | | Vue.component('ImageUpload', ImageUpload) |
| | | Vue.component('ImagePreview', ImagePreview) |
| | | Vue.component('VisibilityToolbar', VisibilityToolbar) |
| | | |
| | | Vue.use(vform) |
| | | Vue.use(directive) |
| | | Vue.use(plugins) |
| | | Vue.use(VueMeta) |
| | | // Vue.use(HighLight); |
| | | // Vue.use(ElementIcons); |
| | | DictData.install() |
| | | |
| | | /** |