0

We are using primeng in our angular project. We have made some custom changes in the library like templates in some of the components. one such example is below , where we have changed the emptyMessage property template in datatable.

<div [innerHTML]=\"dt.emptyMessage\"></div>

The issue we are facing now is , in development mode the changes are getting reflected but in prod build its not working.i.e vendor.bundle.js has changes made in prime ng library only in dev build (ng build --dev) kindly help.

user1058913
  • 321
  • 1
  • 4
  • 20

1 Answers1

0

I made it working :)

We should use production build command like below

ng build --no-aot
user1058913
  • 321
  • 1
  • 4
  • 20