Replies: 2 comments
-
Did you find any solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe this: https://github.com/Shopify/prettier-plugin-liquid |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to use Tailwind inside a Shopify project with Prettier formatting.
I'm using the official Shopify prettier plugin https://shopify.dev/docs/themes/tools/liquid-prettier-plugin and it seems to be compatible with the Tailwind Prettier library https://github.com/tailwindlabs/prettier-plugin-tailwindcss
When i save my file, the HTML/Liquid tags are formatted but the class attributes with tailwind classes are never re-ordered.
Can you help?
Using (in package.json)
(In .prettierrc)
Beta Was this translation helpful? Give feedback.
All reactions