2026-11-10 21:36:09 +08:00
|
|
|
import { createApp } from 'vue'
|
|
|
|
|
import { createPinia } from 'pinia'
|
|
|
|
|
import ElementPlus from 'element-plus'
|
|
|
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
|
|
|
import 'element-plus/dist/index.css'
|
|
|
|
|
import 'element-plus/theme-chalk/dark/css-vars.css'
|
|
|
|
|
import 'katex/dist/katex.min.css'
|
|
|
|
|
import '@fontsource-variable/noto-sans-sc'
|
2026-11-14 14:07:26 +08:00
|
|
|
import './styles/index.css'
|
2026-11-10 21:36:09 +08:00
|
|
|
import App from './App.vue'
|
|
|
|
|
import { router } from './router'
|
|
|
|
|
document.documentElement.classList.add('dark')
|
2026-11-14 14:07:26 +08:00
|
|
|
const app = createApp(App)
|
|
|
|
|
app.use(createPinia()).use(ElementPlus, { locale: zhCn }).use(router)
|
|
|
|
|
void router.isReady().then(() => app.mount('#app'))
|