[Prettier Plugin] Prettier Plugins doesn't sort any classes on PHP file #10434
Unanswered
MaideAkdede
asked this question in
Help
Replies: 2 comments 1 reply
-
Using
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@arisac's answer didn't work for me and I solved it by using this plugin: |
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
-
I tried to open up an issue on the Github repository of Tailwindlabs : Prettier-plugin-tailwindcss and got sent here.
Like mentioned in the title, this prettier-plugin-tailwindcss doesn't work in any of the PHP files I'm working on.
The plugin works perfectly in css, scss, html, js files but whenever I'm running it in a php files only the regular Prettier Plugin is applied and none of the classes get sorted.
My question is: what am I doing wrong? Did I miss something about this plugin not supposed to work in PHP files?
I've also asked this question on StackOverflow but haven't got any answers yet.
Local Environment:
Beta Was this translation helpful? Give feedback.
All reactions