2026-02-13 17:34:32 +08:00
|
|
|
import { createApp } from 'vue'
|
|
|
|
|
import { createPinia } from 'pinia'
|
|
|
|
|
import 'ant-design-vue/dist/reset.css'
|
2026-05-13 12:43:01 +08:00
|
|
|
import './styles/admin-mobile.css'
|
2026-05-29 13:30:56 +08:00
|
|
|
import './style.css'
|
2026-02-13 17:34:32 +08:00
|
|
|
import App from './App.vue'
|
|
|
|
|
import router from './router'
|
2026-06-24 22:13:00 +08:00
|
|
|
import { BRAND_CONFIG } from './config/brand'
|
|
|
|
|
|
|
|
|
|
document.title = BRAND_CONFIG.appTitle
|
2026-02-13 17:34:32 +08:00
|
|
|
|
2026-05-23 18:44:57 +08:00
|
|
|
/**
|
|
|
|
|
* Purpose: app supports main.ts by holding or executing the app page or API role.
|
|
|
|
|
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
|
|
|
|
*/
|
2026-02-13 17:34:32 +08:00
|
|
|
const app = createApp(App)
|
2026-05-23 18:44:57 +08:00
|
|
|
/**
|
|
|
|
|
* Purpose: pinia supports main.ts by holding or executing the pinia page or API role.
|
|
|
|
|
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
|
|
|
|
|
*/
|
2026-02-13 17:34:32 +08:00
|
|
|
const pinia = createPinia()
|
|
|
|
|
|
|
|
|
|
app.use(pinia)
|
|
|
|
|
app.use(router)
|
|
|
|
|
|
|
|
|
|
app.mount('#app')
|