Electron-vue: build app is blank - sorry

Created on 23 Jul 2017  ·  1Comment  ·  Source: SimulatedGREG/electron-vue

Hi guys

I'm sorry but, I couldn't with my problem. I use firebase, aws-sdk and fs (for readFileSync) that I think can are generating problems. when I run npm run dev its work fine but in npm run build (on windows) doesn't work.

I tried any form to show the devtools as 214 or remove some code of webpack.renderer.config.js and webpack.main.config.js but I haven't got something

This the project of example https://github.com/fortil/electron-vue-firebase-aws-vuetify

  • Node version: 8.1.4
  • vue-cli version: 2.8.1
  • Operating System: Windows

Thanks

Most helpful comment

I resolved it

I write the following solution for futures questions

First, open devtools

  • In src/main/index.js add the line mainWindow.webContents.openDevTools() after mainWindow.loadURL(winURL), with this open the devtools after builded.
  • (optional) in the files webpack.rederer.config.js and webpack.main.config.js change true by false:

    • removeConsole


    • removeDebugger


    • minimize


    • collapseWhitespace


    • removeAttributeQuotes


    • removeComments

>All comments

I resolved it

I write the following solution for futures questions

First, open devtools

  • In src/main/index.js add the line mainWindow.webContents.openDevTools() after mainWindow.loadURL(winURL), with this open the devtools after builded.
  • (optional) in the files webpack.rederer.config.js and webpack.main.config.js change true by false:

    • removeConsole


    • removeDebugger


    • minimize


    • collapseWhitespace


    • removeAttributeQuotes


    • removeComments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kinoli picture kinoli  ·  3Comments

Quadriphobs1 picture Quadriphobs1  ·  3Comments

iwen-pengh picture iwen-pengh  ·  3Comments

simonwjackson picture simonwjackson  ·  3Comments

michalzaq12 picture michalzaq12  ·  3Comments