Class Sorting with Prettier, Tailwind CSS IntelliSense & clsx

Hello community, does anyone know a way to use Prettier and Tailwind CSS IntelliSense with clsx? I would like to sort the tailwind classes in clsx functions too.
4 Replies
Andreas Wagner
Andreas Wagner14mo ago
I followed these steps, but it seems like something is still missing. https://github.com/lukeed/clsx#tailwind-support
Ryan
Ryan14mo ago
There's this for sorting the classes with the prettier plugin
No description
Ryan
Ryan14mo ago
GitHub
GitHub - tailwindlabs/prettier-plugin-tailwindcss: A Prettier plugi...
A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order. - GitHub - tailwindlabs/prettier-plugin-tailwindcss: A Prettier plugin for Tailwind CSS tha...
Ryan
Ryan14mo ago
Personally haven't tried it but yeah
Want results from more Discord servers?
Add your server