如何将JHipster生成的项目拆分为多模块gradle项目

时间:2014-09-14 20:28:00

标签: gradle jhipster

我正在尝试将Jhipster生成的项目拆分为多模块项目。 我想将带有angularJs的Presentation层分离成单独的模块。 我怎么能这样做?

2 个答案:

答案 0 :(得分:1)

However, with a little effort you can separate the deployment of frontend and backend. i.e. use nginx for the frontend contents (configured to proxy the requests to the backend) and use tomcat for the backend.

i.e. change the dist directory and then do "grunt build". A few things will be missing (init, bower_components and i18n). aka, editing a bit the Gruntfile.js will be required in order to fix it.

答案 1 :(得分:0)

JHipster并不意味着成为一个多模块"项目。 当然,如果你想重新编码所有内容,你可以做到这一点,但那将非常复杂。