Github page doesn't render ReactJs website correctly
P粉693126115
P粉693126115 2023-08-10 14:37:09
0
1
452

I'm trying to deploy a Reactjs website, but my website won't display. This is the link:

https://thebestprince.github.io/classy-portfolio/

When I run the site on my local computer, everything loads fine in the browser.

Any ideas why it doesn't show up? ? ?

I expect the webpage to display in the browser just as it would when I run it on my local computer

P粉693126115
P粉693126115

reply all (1)
P粉071626364

To push your changes to the gh-pages branch, you can follow these steps: Clear your local cache:

git rm -rf .git git init
Switch to the gh-pages branch:
git checkout gh-pages
Add all your changed files:
git add .
Submit your changes:
git commit -m "部署新更改"
Push your changes to GitHub:
git push origin gh-pages
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!