Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Builded App is blank! #67

Closed
paulvl opened this issue Nov 17, 2016 · 5 comments
Closed

Builded App is blank! #67

paulvl opened this issue Nov 17, 2016 · 5 comments

Comments

@paulvl
Copy link

paulvl commented Nov 17, 2016

Hi there I was just play around with this electron-vue repo to test some other simple vuejs app that I was testing. Everything is fine with npm run dev but when I compile the apps using npm run build the app just display a blank page, I had no errors during building, I'm on linux, ubuntu 14.04.

Hope you can help me, I'm new in the webpack world.

@paulvl paulvl closed this as completed Nov 17, 2016
@SimulatedGREG
Copy link
Owner

@paulvl

Were you able to solve the issue you were having?

@paulvl
Copy link
Author

paulvl commented Nov 18, 2016

@SimulatedGREG yes, I was viewing a blank page because vue-router mode was set to 'history', removed that and everything worked like a charm.

@SimulatedGREG
Copy link
Owner

Ahh. I think this is worth nothing in the Docs.

@c446984928
Copy link

c446984928 commented Aug 30, 2017

try this :

function createWindow () {
  mainWindow = new BrowserWindow({
    //...
  })
// use this to open dev tools manualy to debug
 mainWindow.webContents.openDevTools()
//...
}

@abbrechen
Copy link

abbrechen commented Apr 22, 2020

Strange, but the history mode was the reason for this issue for me, too.

EDIT: Additionally to the blank page there was no "not file found" error, there was no error in the console. And the network tab said the files were loaded (but they all had 0 kb size).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants