[英]How to change prefix in jhipster with AngularX
I want to change prefix of jhi to custom in jhipster + Angular 4. 我想将jhi的前缀更改为jhipster + Angular 4中的custom。
I have tried the following command: 我尝试了以下命令:
yo jhipster:app --skip-install --skip-user-management --jhi-prefix app --npm --skip-cache
But it doesn't work. 但这是行不通的。 I am creating a monolithic application with mongodb and internationalization. 我正在用mongodb和国际化创建一个整体应用程序。
Replace the property value of jhiPrefix based on the requirement in .yo-rc.json 根据.yo-rc.json中的要求替换jhiPrefix的属性值
{
"generator-jhipster": {
"promptValues": {
"packageName": "com.sample"
},
"jhipsterVersion": "4.7.0",
.....
.....
"jhiPrefix": "jhi",
........
}
}
Now rerun the 现在重新运行
yo jhipster 哟吉普斯特
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.