New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with prettier-plugin-twig-melody
#16
Comments
Tried the same today. Hope there is a solution for this 😅 |
The source from the plugin does not have a parser for Twig: If a different approach can be taken to use this tailwind prettier plugin with twig files, i'm all ears Anyway this plugin is 🔥 |
Same request for me, how to make this plugin work with twig files? 🤔 #PrettierBeginner @perruche I think this plugin only work with tailwindcss v3 |
The above configuration is working for |
@perruche you're right, this plugin works for me in |
@florianbouvot |
Hey! Thanks for reporting this. I've created a new issue (#31) dedicated to keeping track of Prettier plugins that are not compatible with this plugin. Closing this issue in favor of that 👍 Please feel free to post this incompatibility with |
I posted the same question in the discord but worried it's too specific to get an answer there. Just wondering if there is a way in VSC to enjoy class sorting via |
@kerns did you ever found a solution to this? |
Is it possible to set this plugin as the parser of twig files without having to use the HTML parser too? |
@kerns did you find a solution? |
Hello,
Regarding this part of the README.
This plugin does not work with
*.twig
files, with prettier-plugin-twig-melodyprettier version: 2.5.1
prettier-plugin-twig-melody version: 0.4.6
tailwindcss version: 2.2.19
My .prettierrc.js
Only the settings from the twig plugin are applied when running prettier, class names stay in the same order.
The text was updated successfully, but these errors were encountered: