2021-05-15 20:57:32 +08:00
|
|
|
import '@src/common/patch'
|
2020-08-31 09:50:57 +08:00
|
|
|
import { createApp } from 'vue'
|
|
|
|
import App from './App.vue'
|
2021-05-15 16:30:59 +08:00
|
|
|
import fs = require('fs')
|
2021-05-15 14:53:43 +08:00
|
|
|
import { ipcRenderer } from 'electron'
|
2021-05-15 16:30:59 +08:00
|
|
|
import Store from 'electron-store'
|
2020-09-25 11:39:39 +08:00
|
|
|
import './index.css'
|
2020-09-02 09:19:07 +08:00
|
|
|
|
|
|
|
console.log('ipcRenderer:', ipcRenderer)
|
2021-05-15 16:30:59 +08:00
|
|
|
console.log('electron-store', new Store({ name: 'electron-vue' }))
|
2020-08-31 09:50:57 +08:00
|
|
|
|
2021-05-15 14:53:43 +08:00
|
|
|
createApp(App)
|
|
|
|
.mount('#app')
|
|
|
|
.$nextTick(window.ClosePreloadLoading)
|