为什么我的 github.io react-gh-pages 显示 404?

问题描述 投票:0回答:1

我正在使用 React 发布到 gh 页面,尽管我的另一个 ryan-howard-hc.github.io/ReactMenu 使用同一教程视频,但它给了我一个 404?

https://github.com/ryan-howard-hc/ryan-howard-hc.github.io

这是仓库,它给了我一个 404,我已经尝试了我能想到的一切,并与我的其他仓库 ReactMenu 进行了比较

我遵循相同的方法来部署它。我认为这与它的主页有关 ryan-howard-hc.github.io 但我不知道。请帮忙!

enter image description here

reactjs github-pages
1个回答
0
投票

对于 github 页面,您的项目根文件夹 (https://github.com/ryan-howard-hc/ryan-howard-hc.github.io) 将需要一个名为 index.html.

的文件
© www.soinside.com 2019 - 2024. All rights reserved.