Files
FiDA_Front/src/main.ts
2026-02-25 13:45:55 +08:00

29 lines
654 B
TypeScript

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './stores/index'
import 'normalize.css'
import './assets/css/style.css'
import SvgIcon from "@/components/SvgIcon/index.vue";
import "virtual:svg-icons-register";
import i18n from "./lang/index";
import flexible from "./utils/flexible.js";
import "./router/router-config" // 路由守卫,做动态路由的地方
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
const app = createApp(App)
app.use(router)
.use(ElementPlus)
.use(store)
.component("SvgIcon", SvgIcon)
.use(i18n)
.mount('#app')
flexible();