Steps to integrate PrimeNG with JHipster

Viewed 7141

We have been trying to incorporate PrimeNG components into a JHipster (angular 4) generated project with no success. After download and install PrimeNG into our project, we are able to import classes but when we include the corresponding tags into templates nothing is drawn. We have tested several of the PrimeNG components. Also we have done the imports in app.module, etc. I would like to be more concrete, but no error is displayed anywhere. Do you have any hint on how work with PrimeNG and JHipster together? Thanks

4 Answers

Update for PrimeNG 6

Follow top answers here but also need to add primeicons dependency. See my answer here for more info

  • Run cmd yarn add primeicons
  • In vendor.css add @import '~primeicons/primeicons.css'; (not sure if import order matters)
Related