Actually I made a react+vite App named weather app but when I pushed my app to github and tried to deploy on github pages it is showing blank page…
I tried every thing on social media but nothing worked please help me out…
First I tried to add
Predeploy
Deploy and homepage to my package .json then added base to my vite.confing.js the tried npm run deploy still showing the same error.
Here is my github link of project https://github.com/manishpandeydev/Weather-App
Please check it out and and help me..
2
Answers
I tried that but how to make dist as entry point
You must run
npm run build
that will create adist
folder is the contents of that folder the one you should use as entry point to your app. On github you can configure the dist folder as the root of your project in that gh-pages branch