You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
906 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/** 必须与 `import { … } from 'bootstrap'` 使用同一文件(package.module = bootstrap.esm.js),否则两套运行时重复注册 Data API,下拉会打开即被第二次 toggle 关掉 */
import 'bootstrap/dist/js/bootstrap.esm.js'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn.mjs'
import 'element-plus/dist/index.css'
import './style.css'
import App from './App.vue'
import router from './router'
import { capturePublicSourceFromLocation } from './utils/publicSource'
const pinia = createPinia()
void capturePublicSourceFromLocation()
router.afterEach(() => {
void capturePublicSourceFromLocation()
})
document.documentElement.dataset.adminBuildMarker = '2026-06-19-frontend-rebuild'
createApp(App).use(pinia).use(router).use(ElementPlus, { locale: zhCn }).mount('#app')