css files and pictures not rendering #7378
-
SummaryI recently built a static website for a friend of mine and asked me to use vercel to deploy it. When I did the webiste looks like this:https://links-eight-nu.vercel.app/ here is my github: https://github.com/adighiero1/links I've tried redeploying the website. Checking the logs but it doesn't list any errors. ExampleNo response Steps to Reproduceyou can clone repo if you want. the link for the webapp is provided above as well. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello, I saw this discussion unanswered and I felt I'd help. The website link displays so because Vercel is adding a folder |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
Hello, I saw this discussion unanswered and I felt I'd help.
For static websites, which I believe yours is one, toggle off the switch for the input that defaults to
public
as output folder in your build settings. Leave the input field blank.The website link displays so because Vercel is adding a folder
/public/
to the path to your used external assets, CSS, JS, images. Since no such file or folder exists, you get an empty response with no results