jreznot/electron-java-app

Development in the IDE

afedulov opened this issue · 4 comments

It would be great to have some description in the REAME about the development process. I can see how I can start the "backend" with the Launcher, but cannot figure out if it is possible to start the UI separately. Is NPM used for that? Is there some Vaadin-specific build goal?

This is extremely wild example for enthusiasts only. It is not recommended for real-life applications.
Please use JCEF or Java FX embeeded web browser instead.

OK, but I am interested to experiment with it and you are somehow assuming my goals. I would appreciate an answer if this is possible at all or not.

It is enough to run npm install once and then start Launcher class from IntelliJ IDEA with Gradle integration enabled.

image

Thanks for the quick reply, Yuriy! Despite being a very niche "wild example for enthusiasts", the project setup demonstrating bundling Java backend into an electron app is very useful. Thanks for that!