简体   繁体   English

如何使用AngularX更改jhipster中的前缀

[英]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.

相关问题 如何更改 jhipster 默认(“/”)页面? - How do I change the jhipster default ("/") page? JHipster - 更改前端的 basePath - JHipster - Change the basePath for FrontEnd 如何在Jhipster(java + angular)下载过程中更改文件名 - How to change the file name during the download process in Jhipster (java + angular) 如何更改Spring&Jhipster身份验证不足的错误消息 - How to change Spring & Jhipster Insufficient authentication error message 如何在angular8中获取angularx-social-login的刷新令牌 - how to get refresh token for angularx-social-login in angular8 angular2如何更改组件的默认前缀以停止tslint警告 - angular2 how to change the default prefix of component to stop tslint warnings 如何将动态 Facebook 和谷歌客户 ID 放在 angularx-social-login 上? - How to put dynamic Facebook and google CLIENT ID on angularx-social-login? 如何使用 angularx-qrcode 库从 QR 码扫描启动 SMS 移动应用程序? - How do i launch SMS mobile app from a QR code scanning using angularx-qrcode library? 如何从“angularx-social-login”以 object 的形式登录用户数据? - How to get logged in user data as a object from "angularx-social-login"? 如何在使用 angularx-qrcode 生成的二维码上实现缩放和下载功能? - How to achieve zoom and download features on qr code generated using angularx-qrcode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM