Next.js Discord

Discord Forum

Why Vercel is not reading the styles correctly?

Answered
kyzo posted this in #help-forum
Open in Discord
Hi everyone! I used NextJS & Tailwind to build a really quick and simple website.
After deploying it to Vercel it turned out the styles are not correctly applied.

Take a look at the screenshot - left side is my "npm run start" version. Right side is thing build by Vercel.
What am I doing wrong?

K.
Answered by Youssef
Ensure that you added all of your paths that use tailwind classes
View full answer

4 Replies

You might not configure content in tailwind configuration well
Ensure that you added all of your paths that use tailwind classes
Answer
Aahh, thank you @Youssef ++
I named my folder "Components" instead of "components". Didn't know that makes any difference.
oh yeah on vercel the file/folder names are case sensitive, so components and Components are different