mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 15:43:43 +08:00
39 lines
981 B
TypeScript
39 lines
981 B
TypeScript
import HighLight from '@highlightjs/vue-plugin';
|
|
import { ElDialog } from 'element-plus';
|
|
import { createApp } from 'vue';
|
|
import VXETable from 'vxe-table';
|
|
import 'virtual:uno.css';
|
|
import 'element-plus/theme-chalk/dark/css-vars.css';
|
|
import '@/assets/styles/index.scss';
|
|
import 'highlight.js/styles/atom-one-dark.css';
|
|
import 'highlight.js/lib/common';
|
|
import 'virtual:svg-icons-register';
|
|
import 'vxe-table/lib/style.css';
|
|
import i18n from '@/lang/index';
|
|
import ElementIcons from '@/plugins/svgicon';
|
|
import App from './App.vue';
|
|
import directive from './directive';
|
|
import plugins from './plugins/index';
|
|
import './permission';
|
|
import router from './router';
|
|
import store from './store';
|
|
|
|
VXETable.setConfig({
|
|
zIndex: 999999
|
|
});
|
|
|
|
ElDialog.props.closeOnClickModal.default = false;
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(HighLight);
|
|
app.use(ElementIcons);
|
|
app.use(store);
|
|
app.use(router);
|
|
app.use(i18n);
|
|
app.use(VXETable);
|
|
app.use(plugins);
|
|
directive(app);
|
|
|
|
app.mount('#app');
|