Persist some JHipster settings globally to save time when creating projects

╄→尐↘猪︶ㄣ 提交于 2021-01-29 08:38:45

问题


I'm using JHipster a lot to try out new things

Some settings I usually don't change. For example: on the internationalization step I usually choose "Englisch" as main language and "German" as translation language. Also, I want to have some plugins from the marketplace always inside the project.

Can I place a file with some options somewhere so JHipster applies those to all new projects I create?


回答1:


You can use a jdl-file to persist application settings, too, see: https://github.com/jhipster/jdl-samples (e.g. https://github.com/jhipster/jdl-samples/blob/master/microservice-ecommerce-store-4-apps.jdl).

Here is some documentation, which options you can use for your application: https://www.jhipster.tech/jdl/applications (e.g. enableTranslation, nativeLanguage, languages etc.)



来源:https://stackoverflow.com/questions/59504067/persist-some-jhipster-settings-globally-to-save-time-when-creating-projects

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!