简体   繁体   English

如何安装或使用yo generator-jhipster 2.0(新分支2.0)

[英]How to install or use yo generator-jhipster 2.0 (the new branch 2.0)

I'm new to npm , yo and this mega hipster staff. 我是新来的npmyo ,这巨型的超低腰的工作人员。 I want to test the new branch 2.0, because I saw and error will trying the jhipster-sample-app-2.0 . 我想测试新的分支2.0,因为我看到了错误,将尝试jhipster-sample-app-2.0 In concrete an anjular-ui-router javascript can not we loaded. 具体来说,我们无法加载anjular-ui-router javascript。

How can I do something like npm install -g generator-jhipster@2.0 to test the new version and try to fix this bug or improve the generated code? 我该如何执行npm install -g generator-jhipster@2.0来测试新版本并尝试修复此错误或改进生成的代码?

Thanks in advance for your time. 在此先感谢您的时间。

  • The v2.0 is now merged into the master branch v2.0现在已合并到master分支中
  • You must clone it and do a "npm link" as explained in the Yeoman documentation 您必须克隆它并按照Yeoman文档中的说明进行“ npm链接”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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