Files
FiDA_Front/src/main.ts

30 lines
650 B
TypeScript
Raw Normal View History

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