How to update the JHipster project after updating JHipster generator?

后端 未结 7 2082
栀梦
栀梦 2020-12-29 08:37

I updated my JHipster installation as per this page by running the command

npm update -g generator-jhipster

But to update my application I

7条回答
  •  一生所求
    2020-12-29 09:03

    JHipster now has a page on Upgrading an application.

    https://jhipster.github.io/upgrading-an-application/

    TL;DR

    Running the upgrade sub-generator

    Go into the application’s root directory:

    cd myapplication/

    To upgrade your application, type:

    yo jhipster:upgrade

    If you want to run the upgrade sub-generator even if no new JHipster version is available, type:

    yo jhipster:upgrade --force

提交回复
热议问题