my UI code struture is src>homepage.js, homepage.css, login.js, login.css, register.js, register.css.
Works well locally, but when hosted and upon checking the SOURCE on vercel, my CSS wont show up. Also, when visiting the deployed link, it won’t display with styling.
https://wealthwatch-9weah0ysr-shivang-raikars-projects.vercel.app/login
https://wealthwatch-9weah0ysr-shivang-raikars-projects.vercel.app/register
pawlean
(Pauline P. Narvas)
December 19, 2024, 9:14am
2
Hey, @shivangraikar ! Welcome to the Vercel Community
I can’t access your domain, could you share the deployment URL with us?
In case it’s helpful, sharing similar posts by community members:
Hi, @dk-raw ! Welcome to the Vercel Community
I just went on your site and it looks like the CSS is working correctly now?
Feel free to share your solution with us.
Let us know if you need any more help with anything else!
The domain troubleshooting guide can help with most custom domain configuration issues. You might be able to use that guide to solve it before a human is available to help you. Then you can come back here and share the answer for bonus points .
You can also use v0 to narrow down the possibilities.
@pawlean Please find the links to my repo and deployment in the REPLY. Thanks for your help!
neversitdull
(Josh Dunsterville)
December 19, 2024, 6:53pm
7
This looks styled to me. I’m guess you’re expecting it to look different though? Do you have a screenshot of how it should look?
1 Like
I’m having this same issue. It works locally, in preview deployment, but not in production deployment.
Production:
Preview:
https://center-portal-v1-rhm5iyvdq-good-labs.vercel.app/login
Doesn’t make any sense to me
pawlean
(Pauline P. Narvas)
January 14, 2025, 5:03pm
9
Hey, Grant! Sorry to hear you’re encountering the same issue.
How did you get on with these?
Hey, @shivangraikar ! Welcome to the Vercel Community
I can’t access your domain, could you share the deployment URL with us?
In case it’s helpful, sharing similar posts by community members:
I had an issue with the path to the CSS being rendered, make sure you double check that. Your site returns a 404 error that is due the file not being located, try renaming the file.
1 Like
Hi Pauline, its happening in incognito, different browsers, and on my phone. Its very hard to debug since its not happening locally.
It looks like none of the css is even showing up in the sources tab in the browser