Skip to content

Some questions on Primeflex migration guide section in the v18 docs #2708

Answered by qwadrox
JIBIN-P asked this question in PrimeNG
Discussion options

You must be logged in to vote

@JIBIN-P I would simply use TailwindCSS instead of those classes when possible. For example, instead of formgrid and col I would use grid: with col-span-x
Instead of formgroup-inline I would use: flex flex-row.

That's what the docs say, basically:

"use flex box utilities instead as replacements"

To make quicker the migration, you can "find and replace" these classes with something from tailwind.
Recently, I have migrated a project from primeflex to tailwindcss, and it was not that much problematic. I didn't use the migration tool.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JIBIN-P
Comment options

Answer selected by JIBIN-P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants