20 lines
445 B
TypeScript
Raw Normal View History

2021-05-15 16:30:59 +08:00
/**
* !!! ensure cwd crrect
*/
process.chdir(__dirname)
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')
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
2021-05-15 16:30:59 +08:00
console.log('fs', fs)
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
createApp(App)
.mount('#app')
.$nextTick(window.ClosePreloadLoading)