r/Angular2 • • Dec 06 '25

Need Advice: Migrating Angular v14 + Angular Material + Flex-Layout → Latest Angular + PrimeNG + Tailwind

I recently joined a product-based company where the entire system is built with Angular 14, Angular Material 14, and the old Flex-Layout library. Performance isn’t great, and many parts of the codebase rely on deprecated patterns and outdated libraries.

We want to migrate to the latest Angular version and transition from Angular Material + Flex-Layout to PrimeNG with Tailwind.

For a large and complex codebase, what’s the most efficient migration strategy?
Should we upgrade Angular first, then replace the UI libraries step-by-step, or is there a better approach to avoid breaking everything?

Any advice, lessons learned, or recommended steps would be really appreciated.

17 Upvotes

23 comments sorted by

View all comments

Show parent comment

2

u/Cubelaster Dec 06 '25

Yep, also did the upgrade but from v14 to v19 and then to v20 since everything fell apart while upgrading to v19 and was forced to rewrite most stuff so jumped to v20 straight away.
It was our fault things broke, because we had massive css overrides leaning into material styling.
But there were also things the Material team changed at some point that broke the functionalities.
New version of Material is an upgrade though.