[英]How to make JHipster JDL Import to skip regenerating existing entities
[英]jHipster: how to generate only entities during jdl import
jHipster:如何在jdl導入期間僅生成實體
還是實體加上dto和mapper?
jhipster import-jdl jhipster-jdl.jh
要僅生成實體(並跳過應用程序JDL生成),可以傳遞--ignore-application
。 完整的命令如下所示: jhipster import-jdl jhipster-jdl.jh --ignore-application
如果需要DTO和dto * with mapstruct
,請在JDL的底部添加dto * with mapstruct
。 文檔中的更多信息: https : //jhipster.tech/jdl/
您可以使用jhipster entity <entityName> --[options]
,其中選項為:
--skip-server
這將跳過服務器端代碼,僅生成客戶端代碼。 --skip-client
這將跳過客戶端代碼,僅生成服務器端代碼。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.