prettier-plugin-tailwindcss icon indicating copy to clipboard operation
prettier-plugin-tailwindcss copied to clipboard

Doesn't work with Astro

Open alexschcom opened this issue 9 months ago • 2 comments

What version of prettier-plugin-tailwindcss are you using?

v0.7.2

What version of Tailwind CSS are you using?

v4.2.0

What version of Node.js are you using?

v22.20.0

What package manager are you using?

npm

What operating system are you using?

macOS

Reproduction URL

https://github.com/alexschcom/prettier-plugin-tailwindcss-issue

Describe your issue

/src/pages/index.astro → <h1> class list should change

<h1 class="p-4 text-9xl m-4">Astro</h1>

to

<h1 class="m-4 p-4 text-9xl">Astro</h1>

alexschcom avatar Feb 20 '26 20:02 alexschcom

Same for the latest version of Angular

victormscn avatar Feb 21 '26 18:02 victormscn

Neither with svelte

inomish avatar Jun 07 '26 13:06 inomish