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.

16 lines
643 B

5 months ago
/** 必须与 `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'
const pinia = createPinia()
createApp(App).use(pinia).use(router).use(ElementPlus, { locale: zhCn }).mount('#app')