why wont github add a folder in the github pages? #123773
Replies: 3 comments
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hi @Lolhp0, is it possible for you to share a link to the repo? I've gone ahead and moved this post to our Programming Help category, as this topic might be more relevant there. |
Beta Was this translation helpful? Give feedback.
-
The issue you're experiencing is likely due to incorrect relative paths or missing static files in the hosting configuration. Here's a step-by-step guide to fix it: 1. Check the
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
So I've made a reactjs with vite project, I ran npm run build in the terminal and put the files inside the dist folder in the repository. so there was index.html, an svg and the assets folder. the assets folder is present inside the dist folder and in the repository. But, when I hosted it and went to the link, the website was showing a white page. So I opened inspect element and went to the sources tab there was no assets folder to be found. the index.js and the index.css href's were inside the assets folder but the assets folder for some reason isn't in the sources tab therefore not loading anything and getting errors. any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions