mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
chore: electron-store 传递 name 后影响热更新
This commit is contained in:
parent
fae42f7841
commit
46d0b85170
@ -7,7 +7,10 @@ import Store from 'electron-store'
|
||||
import './index.css'
|
||||
|
||||
console.log('ipcRenderer:', ipcRenderer)
|
||||
console.log('electron-store', new Store({ name: 'electron-vue' }))
|
||||
// Configuration name causes hot updates to be slow | 传递 name 后会导致热更新很慢
|
||||
// console.log('electron-store', new Store({ name: 'electron-vue' }))
|
||||
// https://github.com/caoxiemeihao/electron-vue-vite/issues/10
|
||||
console.log('electron-store', new Store())
|
||||
|
||||
createApp(App)
|
||||
.mount('#app')
|
||||
|
Loading…
x
Reference in New Issue
Block a user