简体   繁体   中英

How to change prefix in jhipster with AngularX

I want to change prefix of jhi to custom in jhipster + Angular 4.

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.

Replace the property value of jhiPrefix based on the requirement in .yo-rc.json

{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.sample"
    },
    "jhipsterVersion": "4.7.0",
    .....
    .....
    "jhiPrefix": "jhi",
    ........
  }
}

Now rerun the

yo jhipster

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM