Files
Migu2.0/frontends/apps/simple-platform-vue/src/main.ts
T
zhaowei.huangandCursor 42978930ca feat: 迁入 MiGu.Server、平台前端与车辆列表 reflection 回退
从 Simple-FR 拆出 Platform.Server 并重命名为 MiGu.Server;frontends 源码与构建脚本迁入本仓库。地图监控在 projection/cars 失败或为空时回退 reflection 车辆列表;Simple 仓库已移除旧 Platform.Server。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 18:16:34 +08:00

20 lines
583 B
TypeScript

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import './styles/theme.css'
import App from './App.vue'
import router from './router'
import { useUiStore } from '@/stores/ui'
const app = createApp(App)
const pinia = createPinia()
app.use(pinia)
// 启动时恢复用户上次选择的主题色板(默认工业紫色)
useUiStore(pinia).applyCurrentTheme()
app.use(router)
app.use(ElementPlus, { locale: zhCn })
app.mount('#app')