通过Github页面部署React App的问题

时间:2020-06-28 11:47:11

标签: reactjs github github-pages

我已经使用react创建了一个投资组合。我现在想通过Github页面部署它。我遵循了documentation的所有指示,但没有用。 我按照以下步骤操作:

  1. npm install-保存gh-pages

  2. “脚本”:{ “ predeploy”:“ npm run build”, “ deploy”:“ gh-pages -d build”, “ start”:“反应脚本开始”, “ build”:“ react-scripts build”,

  3. npm运行部署

我现在部署的投资组合如下:https://nahidaislam.github.io/portfolio/

谁能说出问题所在?这是我的GitHub存储库:https://github.com/nahidaislam/portfolio

0 个答案:

没有答案