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

blank page on refresh #507

Closed
1 of 3 tasks
geyuqiu opened this issue Sep 5, 2019 · 2 comments
Closed
1 of 3 tasks

blank page on refresh #507

geyuqiu opened this issue Sep 5, 2019 · 2 comments
Labels

Comments

@geyuqiu
Copy link

geyuqiu commented Sep 5, 2019

I'm submitting a...

  • Bug report
  • Feature request
  • Documentation issue or request

Current behavior

npm run electron:run
click cmd r
-> blank page

Expected behavior

should still load index.html

Minimal reproduction of the problem with instructions

choose electron with angular

Environment





Others:

@sinedied
Copy link
Member

sinedied commented Sep 6, 2019

You need to build the angular app before with npm run build.
I know this is not ideal for now, there is some work to do to improve the developer experience with the electron target, see #460 and #418 if you are willing to help.

@geyuqiu
Copy link
Author

geyuqiu commented Sep 14, 2019

I forgot to mention that Angular files are already built in dist(.electron)
Actually I solved it setting base-href in index.html :)

@geyuqiu geyuqiu changed the title blank page (electron .) blank page on refresh Sep 14, 2019
@sinedied sinedied closed this as completed Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants