Open devcaeg opened 4 months ago
conversation from the other thread
So from this answer there is a space for improvement. From their response this is the piece of code to improve https://github.com/BuilderIO/qwik/blob/c88e53d49dc65020899d770338f4e51f3134611e/packages%2Fqwik%2Fsrc%2Foptimizer%2Fsrc%2Fplugins%2Fvite-server.ts#L102-L126
@import "tailwindcss";
inside global.css
triggers our code to add that links in the <head>
For those interested in continuing to explore TailwindCSS version 4 without encountering this problem, I have shared a temporary and provisional solution in this comment https://github.com/tailwindlabs/tailwindcss/issues/13112#issuecomment-1983444305
Is there any news about this? It should be noted that this problem only happens in dev mode
, when the build
is done for production, the error disappears.
Tailwind v4 it's in alpha now
any PRs/solutions are welcome
Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
I'm experimenting with TailwindCSS version 4, but there's an issue when it's used with Qwik. I created an issue in the TailwindCSS repository, but it seems that the problem originates from the Qwik Vite plugin (that's what the issue comments suggest).
TailwindCSS Issue: tailwindlabs/tailwindcss#13112
Reproduction
https://codesandbox.io/p/devbox/loving-glade-zdpd88?file=%2Fsrc%2Froutes%2Findex.tsx
Steps to reproduce
No response
System Info
Additional Information
No response