Is JHipster 5 (with Spring Boot 2) available to play around with? I've noticed that there is mention about work on JHipster 5 in the release notes, but can't see any info on how to install/run a 'preview' version of 5.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use directly the master version, no need to wait for a release:
git clone https://github.com/jhipster/generator-jhipster
cd generator-jhipster
yarn install
yarn link
Then, when you want to generate a new project, using master branch:
mkdir newapp
cd newapp
yarn link generator-jhipster
jhipster
Don't forget to update regularly the master branch, as the community is very active and there are new commits every day :-)
回答2:
If you are using Windows, use npm instead of yarn (yarn seems to be having some issues on Windows).
git clone https://github.com/jhipster/generator-jhipster
cd generator-jhipster
npm install
npm link
Then, when you want to generate a new project, using master branch:
mkdir newapp
cd newapp
npm link generator-jhipster
jhipster