#Angular 19 and PrimeNG 19

4 messages · Page 1 of 1 (latest)

pastel turtle
#

Hello,

I upgraded to the latest Angular version and have a question regarding the integration of the PrimeNG library in Angular 19.

Before Angular 19 (in Angular 17), I had PrimeNG version 17 integrated by importing from the resources/primeng.min.css folder.

With the upgrade to Angular 19 and implicitly to PrimeNG version 19, the resources/primeng.min.css folder no longer exists. Now, I have to install the primeng/themes library because, as far as I know, PrimeNG now uses a default theme (Aura, Lara, Material, Nora, Types). As a result, the UI of my application no longer looks the same.

Is there any way to import/keep the old PrimeNG theme (primeng.min.css) so that I don’t have to make custom CSS changes to fix the UI?

Thank you !

modest cobalt
#

no there isn't, not official anyways. The old themes are not compatible with the v19+
Some components might still be ok but they changed a lot of the naming

#

and there's also base styles injected as inline css during runtime

#

for applications that i couldn't update to primeng 19 yet (due to time constraints) i forked v17.18.x and updated it to angular 19 and use that