prettier-tailwind
prettier-tailwind copied to clipboard
Output differs from headwind
The readme says:
This plugin will sort tailwind classes as headwind does
However, I found this to not be the case. If I run prettier on a file, I get the following className
:
member-avatar shadow-primary w-10 h-10 bg-center bg-no-repeat bg-cover rounded-full
However, if I open it in VS Code with Headwind 1.7.0 installed and save it, I get:
w-10 h-10 bg-center bg-no-repeat bg-cover rounded-full member-avatar shadow-primary