34
chenyc
2024-12-03 41ce1252805212ce336f292a69a8dbdcbf981fc0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { createApp } from 'vue'
import App from './App.vue'
import 'element-plus/dist/index.css';
import './style.css'
 
 
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
 
// If you want use Node.js, the`nodeIntegration` needs to be enabled in the Main process.
const pinia = createPinia()
createApp(App)
  .use(ElementPlus,{locale: zhCn,})
  .use(pinia)
  .mount('#app')
  .$nextTick(() => {
    postMessage({ payload: 'removeLoading' }, '*')
  })