mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
chore: comments
This commit is contained in:
parent
2512ad1652
commit
ffe6fc651f
@ -52,7 +52,7 @@ async function createWindow() {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
if (process.env.VITE_DEV_SERVER_URL) { // #298
|
if (process.env.VITE_DEV_SERVER_URL) { // electron-vite-vue#298
|
||||||
win.loadURL(url)
|
win.loadURL(url)
|
||||||
// Open devTool if the app is not packaged
|
// Open devTool if the app is not packaged
|
||||||
win.webContents.openDevTools()
|
win.webContents.openDevTools()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user