medusajs / nextjs-starter-medusa

A performant frontend ecommerce starter template with Next.js 14 and Medusa.
https://next.medusajs.com/
MIT License
1.78k stars 497 forks source link

Can't get styling to work with tailwind #385

Closed JacquesFrost closed 3 weeks ago

JacquesFrost commented 1 month ago

I've been trying to do basic things with tailwind like change colours of things by adding a class ex: bg-teal-600 but it doesn't work. I even tried changing config for tailwind. Is there any way to get tailwind to work with its original styling and not this reduced version. It seems almost any class I use doesn't work.

Camirand commented 4 weeks ago

Just tried to reproduce the issue with @latest Went to template/nav, bg-slate-800 as a tryout and it works well.

Did you init your tailwinds? Maybe a wrong installation on your side

No Issue with tailwinds and latest version of MedusaJS and it can be closed

Capture d’écran 2024-10-27 091505