create app

This commit is contained in:
李志鹏
2026-02-02 13:32:33 +08:00
commit 721cf2066a
48 changed files with 16194 additions and 0 deletions

26
src/main.ts Normal file
View File

@@ -0,0 +1,26 @@
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";
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)
.mount('#app')
flexible();