Generating JHipster app online serves empty page

2019-07-14 14:30发布

When I'm generating app from locally installed JHipster 4.7, I can start it on localhost:8080 by running ./mvnw with no problems.

But when I generate the project online at https://start.jhipster.tech, running ./mvnw shows the blank page on localhost:8080 (no errors on the browser's console). To see the page, I have to run yarn start and use localhost:9000 (this is optional if I generate the project locally).

Did anyone experience this?

标签: jhipster
1条回答
\"骚年 ilove
2楼-- · 2019-07-14 15:22
  • Yes in dev mode the JHipster development documentation is still valid with JHipster Online, which might not be obvious. So indeed you'll need to run ./mvnw for the backend and yarn start for the front-end
  • In prod mode, running ./mvnw -Pprod will run automatically yarn so you might not see it (as it's automatic), but in the end it's basically the same thing.

In the future that might change, to make things easier: the build could be done in the cloud (or in a local Docker container), so you won't see those at all.

查看更多
登录 后发表回答