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
I followed these steps, but it seems like something is still missing.
https://github.com/lukeed/clsx#tailwind-support
There's this for sorting the classes with the prettier plugin
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...
Personally haven't tried it but yeah