2024-08-29 17:06:00 +08:00
|
|
|
import {createApp} from 'vue'
|
|
|
|
import App from '@/App.vue'
|
|
|
|
import '@/reset.css'
|
2024-09-02 18:08:00 +08:00
|
|
|
import './index.css'
|
2024-08-29 17:06:00 +08:00
|
|
|
// 公共样式
|
|
|
|
import '@/assets/scss/common.scss'
|
|
|
|
// iconfont css
|
|
|
|
import "@/assets/iconfont/iconfont.css";
|
|
|
|
// vue Router
|
|
|
|
import router from "@/router";
|
|
|
|
// pinia stores
|
|
|
|
import pinia from "@/stores";
|
|
|
|
|
|
|
|
const vueApp = createApp(App);
|
2024-09-06 09:45:51 +08:00
|
|
|
import {initEnums} from "@/config/dict.ts";
|
2024-08-29 17:06:00 +08:00
|
|
|
|
2024-09-06 09:45:51 +08:00
|
|
|
initEnums()
|
2024-08-29 17:06:00 +08:00
|
|
|
vueApp
|
|
|
|
.use(router)
|
|
|
|
.use(pinia)
|
|
|
|
.mount('#app')
|