Files
JayuCloud/JC-Salon-Frontend/src/main.ts
T

27 lines
882 B
TypeScript
Raw Normal View History

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'ant-design-vue/dist/reset.css'
import './styles/admin-mobile.css'
2026-05-29 13:30:56 +08:00
import './style.css'
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-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.
*/
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.
*/
const pinia = createPinia()
app.use(pinia)
app.use(router)
app.mount('#app')