This commit is contained in:
wujinliang
2026-08-25 11:48:23 +08:00
parent 024e049e48
commit 3d2344ce0e
2 changed files with 9 additions and 4 deletions
+5 -1
View File
@@ -1,9 +1,13 @@
import { createApp } from 'vue'
import { h } from 'vue'
import { createPinia } from 'pinia'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import App from './App.vue'
import router from './router'
import 'element-plus/es/components/message/style/css'
import 'element-plus/es/components/message-box/style/css'
import './styles/index.css'
createApp(App).use(createPinia()).use(router).mount('#app')
const app = createApp({ render: () => h(ElConfigProvider, { locale: zhCn }, { default: () => h(App) }) })
app.use(createPinia()).use(router).mount('#app')