ci010 / electron-vue-next

A starter template for using vue-next with the electron.
https://ci010.github.io/electron-vue-next/
191 stars 27 forks source link

Empty windows loaded in production mode #45

Closed mohannad-musleh closed 3 years ago

mohannad-musleh commented 3 years ago

The main and side windows open with empty content in production

Enviroment:

Reproduce steps:

notes:

ci010 commented 3 years ago

Sorry about the late reply. I don't have a Linux machine for now. (I'll setup a vm but it takes time)

Can you try to open the Developer Tool for both windows and see if there is any error?

And you didn't mention in the post, but I guess your npm run dev is working. Is it?

ci010 commented 3 years ago

I found the root cause is the new file path url injection does not inject the path with file:// protocol. Fixed in 7c43a370697e5b0732c2d8fcee8cea7da33ebd3d. Thanks!

mohannad-musleh commented 3 years ago

@ci010 thank you very much!