You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! As @thecrypticace this sounds like a configuration issue, if you check out this Play and hit the "Tidy" button (which uses the Prettier plugin under the hood) you'll see it gets sorted correctly:
My guess is maybe the plugin isn't picking up your Tailwind configuration. Make sure you've specified your config path if it's in a non-guessable location:
Going to close this one as we can't reproduce it, but don't hesitate to post a question in our discussion forum if you are still running into issues and need help 👍
What version of
prettier-plugin-tailwindcss
are you using?v0.5.10
What version of Tailwind CSS are you using?
v3.3.3
What version of Node.js are you using?
For example: v12.0.0
pnpm
For example: npm, Yarn
macOS
For example: macOS, Windows
Reproduction URL
In one TSX file, format the code below:
Describe your issue
I'm expecting
3xl
to be at the end, but it would be formatted to be in the beginning.The text was updated successfully, but these errors were encountered: