mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 03:46:35 +08:00
fix: index.html path
This commit is contained in:
parent
815a97250b
commit
68fe4bf3b7
@ -26,7 +26,7 @@ let win: BrowserWindow | null = null
|
||||
// Here, you can also use other preload
|
||||
const preload = join(__dirname, '../preload/index.js')
|
||||
const url = `http://${process.env.VITE_DEV_SERVER_HOST}:${process.env.VITE_DEV_SERVER_PORT}`
|
||||
const indexHtml = 'dist/index.html'
|
||||
const indexHtml = join(ROOT_PATH.dist, 'index.html')
|
||||
|
||||
async function createWindow() {
|
||||
win = new BrowserWindow({
|
||||
|
Loading…
x
Reference in New Issue
Block a user