prettier-tailwind icon indicating copy to clipboard operation
prettier-tailwind copied to clipboard

Output differs from headwind

Open ranisalt opened this issue 3 years ago • 0 comments

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

ranisalt avatar Apr 27 '21 23:04 ranisalt