MathiasGilson / Tailwind-Styled-Component

Create Tailwind CSS React components like styled components with class names on multiple lines and conditional class rendering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't format code by prettier

SteveSuv opened this issue · comments

截屏2023-03-31 00 19 44

when i use prettier and prettier-plugin-tailwindcss to format the code, it just can't :(
and also can't auto fix the tailwind classname order :(

Hi, I've made the following prettier plugin that should help with the formatting : prettier-plugin-tailwind-styled-components.
I hope it will help.

嗨,我制作了以下应该有助于格式化的更漂亮的插件:prettier-plugin-tailwind-styled-components。 我希望它会有所帮助。

very useful, thanks!