mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-20 12:26:36 +08:00
15 lines
369 B
TypeScript
15 lines
369 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
|
|
createApp(App)
|
|
.mount('#app')
|
|
.$nextTick(window.removeLoading)
|
|
|
|
// console.log('fs', window.fs)
|
|
// console.log('ipcRenderer', window.ipcRenderer)
|
|
|
|
// Usage of ipcRenderer.on
|
|
window.ipcRenderer.on('main-process-message', (_event, ...args) => {
|
|
console.log('[Receive Main-process message]:', ...args)
|
|
})
|