28 lines
920 B
TypeScript
28 lines
920 B
TypeScript
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
import 'ant-design-vue/dist/reset.css'
|
|
import './styles/admin-mobile.css'
|
|
import './styles/admin-workbench.css'
|
|
import './style.css'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import { BRAND_CONFIG } from './config/brand'
|
|
|
|
document.title = BRAND_CONFIG.appTitle
|
|
|
|
/**
|
|
* 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)
|
|
/**
|
|
* 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')
|