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' }, '*')
|
})
|