全局保留一些JHipster设置以节省创建项目时的时间 [英] Persist some JHipster settings globally to save time when creating projects

查看:61
本文介绍了全局保留一些JHipster设置以节省创建项目时的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常使用JHipster尝试新事物

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.

我可以在文件中放置一些选项,以便JHipster将这些选项应用于我创建的所有新项目吗?

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

推荐答案

您也可以使用jdl文件来保留应用程序设置,请参见: https://github.com/jhipster/jdl-samples (例如

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).

以下是一些文档,可为您的应用程序使用哪些选项: https://www.jhipster .tech/jdl/applications (例如enableTranslationnativeLanguagelanguages等)

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

这篇关于全局保留一些JHipster设置以节省创建项目时的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆