构建React应用后显示空白页

问题描述

在阅读了一些堆栈解决方案后,例如添加“ homepage”:”。在package.json()文件中,我仍然无法通过此操作。

npm run build之后,在我的项目文件夹中生成一个构建文件夹。当我打开构建文件夹并尝试运行index.html文件时,它显示空白页。 尽管npm run build绝对可以。

To ignore,add // eslint-disable-next-line to the line before.

File sizes after gzip:

  282.86 KB  build/static/js/main.108757a0.js
  3.1 KB     build/static/css/main.8e671453.css```


**Please help me out,I'm a beginner in react and these things make me worry too much **
 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)