Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 在github页面上部署使用API的React应用程序_Reactjs_Github - Fatal编程技术网

Reactjs 在github页面上部署使用API的React应用程序

Reactjs 在github页面上部署使用API的React应用程序,reactjs,github,Reactjs,Github,我根据视频教程在react js中创建了我的项目。我已经使用了CreateReact应用程序。该程序使用Swapi.api显示《星球大战》中的物品。使用npm-run-deploy,我已将项目上传到github。但它没有为我打开它,它只显示一个黑屏。有什么问题吗?请查看

我根据视频教程在react js中创建了我的项目。我已经使用了CreateReact应用程序。该程序使用Swapi.api显示《星球大战》中的物品。使用
npm-run-deploy
,我已将项目上传到github。但它没有为我打开它,它只显示一个黑屏。有什么问题吗?

请查看