Next.js Discord

Discord Forum

need some help in deploying next app on vercel

Answered
vikram posted this in #help-forum
Open in Discord
Actually i have already deployed my nextjs app on vercel but its not actually looking properly (UI is totally different on server) ...
Answered by vikram
i modified the tailwind config and now it working for me
View full answer

16 Replies

Lapland Longspur
What do you mean by "it's not actually looking properly?"
ok let me tell u what happened actually ....
so i have ceated one project in just vite+react and deployed it on netlify (as a static site) but it doesnt have SSR thatwhy i completely created same new project nextjs and deployed it on vercel but the there is difference in actuall UI. Everthing working fine on localhost
on netlify
but on vercel it looks like below
there is no any chnage in css
Your website seems to be using tailwind css, maybe some classes are missing.

Can you show me your taliwind css configuration?
Ok wait
this is
@fuma
there was issue in tailwind config
It looks correct, do you sure all files are scanned?
there was theme setting by dfualt by next
i modified the tailwind config and now it working for me
Answer
thanks a lot @fuma
Nice :blob_hyper:
i think this is making the problem