Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After the build is successful, the application opens with a white screen. How to solve the problem? #76

Open
fangzq229 opened this issue Apr 30, 2024 · 3 comments

Comments

@fangzq229
Copy link

I ran a simple program. After the build was successful, when I tried to run the application, I got a white screen with no content.

@nexmoe
Copy link

nexmoe commented May 27, 2024

I'm facing the same issue. It seems that Nuxt fails to generate public/index.html after the build.

image

@nexmoe
Copy link

nexmoe commented May 27, 2024

add --prerender fix my problem

"build": "nuxt build --prerender && electron-builder",

@rexhent
Copy link

rexhent commented Jun 25, 2024

add --prerender fix my problem

"build": "nuxt build --prerender && electron-builder",

I could add this to documentation if this is an accepted solution?
This is in the package.json correct?

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

No branches or pull requests

3 participants