【问题描述】使用npm run build打包react项目后,index.html页面出现空白 【原因】出现该情况可能是因为找不到资源 【解决办法】在package.json中配置homepage,然后重新打包即可