添加新实体

Adding new entity

我刚开始使用 JHipster,我可以通过 jhipster import-jdl myentity.jh

添加新实体

问题是我的实体只在我通过 npm start 加载应用程序时显示,它指的是 localhost:9000

我希望它显示在我的 localhost:8080 so I don't need to start another terminal. I've followed similar step through their tutorial video on here 上,但无法获得相同的结果。 No entity image

到目前为止我做了什么

  1. gradle clean bootRun -Pdev -Pwebpack
  2. for f in ``ls .jhipster``; do jhipster entity ${f%.*} --force ; done(重新生成所有实体)

添加新实体时有什么遗漏吗?

问题似乎已由 运行 npm install

解决

现在我的实体显示在 localhost:8080