Hi Vercel Team,
I’m running into an issue with my Vite + React + Tailwind CSS project after deploying it to Vercel. The live link loads, but for some reason, a few images aren’t showing up. What’s confusing is that everything works just fine on localhost and even on the GitHub preview link after deployment. I’ve double-checked my code, and it’s all correct and not showing any error in vercel. I’ve also tried redeploying, clearing the cache, and testing different paths, but the problem still exists only on the Vercel live link. I’d really appreciate any help in figuring out what might be causing this. Happy to share links or logs if needed. Thanks a lot!
Hi, This is because your website is accessing from /public
link such as : https://yv-portfolio.vercel.app/public/images/about-me.jpg but the actual image is hosted in https://yv-portfolio.vercel.app/images/about-me.jpg as you can see in deployment output
Hii i didn’t got this mistake in my code. Here the code GitHub - Vashisth302/YV-Portfolio
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.