src/main.ts
@@ -1,6 +1,6 @@ import { createApp } from 'vue'; // global css import 'uno.css'; import 'virtual:uno.css'; import '@/assets/styles/index.scss'; import 'element-plus/theme-chalk/dark/css-vars.css'; @@ -25,12 +25,20 @@ // 国际化 import i18n from '@/lang/index'; // vxeTable import VXETable from 'vxe-table'; import 'vxe-table/lib/style.css'; VXETable.config({ zIndex: 999999 }); const app = createApp(App); app.use(ElementIcons); app.use(router); app.use(store); app.use(i18n); app.use(VXETable); app.use(plugins); // 自定义指令 directive(app);