React应用在GitHub页面中显示空白页面

时间:2020-07-29 08:57:10

标签: reactjs git github-pages

react app上上传我的gitHub pages后,其显示空白页面,并且在控制台中没有显示错误。当我检查页面时说:

您需要启用javascript才能运行此页面

但是当我通过浏览器设置检查时,它显示我的javascriptenabled

这是我的console

Example datatable flutter

以下是elements

enter image description here

这里是Package.json

enter image description here

另外,当我使用基本的react app(仅单页没有路由)进行测试时,它可以正常显示

如果gitHub未发布,是否还有其他选择可以发布我的作品?

谢谢

1 个答案:

答案 0 :(得分:0)

从我这边看起来不错。您应该尝试使用其他浏览器查看问题是否仍然存在。

enter image description here

相关问题