onwidget / qwind

⭕️ Qwind: A template to make your website using Qwik + Tailwind CSS.
https://qwind.pages.dev
MIT License
251 stars 68 forks source link

Issues with Tailwindcss in production #13

Closed Junkboy1 closed 1 year ago

Junkboy1 commented 1 year ago

I'm trying to use this template in my website and I'm facing issues with Tailwindcss.

As you can see in the "npm run dev" it seems that everyting runs properly

image

BUT.. in prod I see this:

image

It has 100% transparency in prod.

spectraisdeadaf commented 1 year ago

Hey, I am trying to recreate your bug from a clean clone of this Repo and it seems to work as expected even in prod. The only thing I can think off without further context is perhaps check your build settings, it could affect the way that the CSS looks. For example, if you have enabled minification, the CSS will be minified, which can sometimes lead to differences in the way that it looks from dev to prod.

Junkboy1 commented 1 year ago

How can I check that about minification? I dont modify anything from the build settings @spectraisdeadaf

prototypa commented 1 year ago

Hi @Junkboy1

It works fine for me in various environments. Please update to the latest version. I'm going to close this Issue, if the problem persists let me know. Thank you