简体   繁体   中英

How to modify template in jHipster entity subgenerator for angular2?

I have got some work to modify default html generated by Jhipster for Angular2 more specifically,i want to modify styles for grid generated by Jhipster for Entity's. I have gone through tutorial creating module in Jhispter documentation. https://jhipster.github.io/modules/creating-a-module/
generator for creating subgenerator is also their can someone please give me pointers on this problem ?

eg

yo jhipster:entity Author

from above command jhipster creates all necessary files at server and client like JPA Entity,REST controller,Service, at client side it creates CRUD UI for Author entity using Angular2(i opted for anular2)

I want to modify client generation Code, i just want to modify HTML templates which gets generated by jhipster entity sub:generator

you need to run Yarn and start modifying your author.component.html which will automatically refreshed in your Browser.

https://jhipster.github.io/development/

您还可以考虑在运行生成器之前使用 git,然后在生成器运行后恢复服务器端代码

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