skip to Main Content

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


  1. Chosen as BEST ANSWER

    I tried that but how to make dist as entry point


  2. You must run npm run build that will create a dist 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search