In my website that was hosted on netlify : https://sportube.netlify.app/
the tailwind css is not loaded correctly
Here in localhost, you can see the css is working good, but when I pushed my code to github and hosted it via netlify, it bugged
In my website that was hosted on netlify : https://sportube.netlify.app/
the tailwind css is not loaded correctly
@nishant0919 This is unlikely to be caused by Netlify.
To prove this to yourself, and make it easier for you to debug you can:
npx serve
You should see precisely the same thing locally that you’re seeing on Netlify.
Once you find/fix the actual issue, then deploying to Netlify will also be fixed.
I Did Excatly like you said, I cloned the github and said buld the NEXT project and used the Serve thing, but still its working good on development
@nishant0919 Is the repository public?
Ignore me, I don’t work with Next as I don’t care for it at all.
You’ll probably need help from someone else.
I’m fairly confident your issue is still Next/Project related and not Netlify, but with Next it’s entirely possible it could be something with Netlify’s implementation of the middleware, who knows
One thing you could try is hosting it on Vercel.
As the creators of Next, if it doesn’t work there, then the issue has to be your project.
Looks like the issue is resolved? Your Netlify site seems to have the styles.