Firebase部署在React项目中显示空白屏幕

时间:2019-08-06 09:34:06

标签: reactjs firebase firebase-hosting firebase-cli

我已将我的react项目托管在firebase上,我使用了相同的命令和指令,此URL https://www.robinwieruch.de/firebase-deploy-react-js/中提到了该命令,但当我运行该URL时,它却给了我黑屏,甚至是我的firebase。 json文件与上述相同

{
  "hosting": {
    "public": "build",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}

我还是黑屏了,有人可以帮我解决这个问题吗?

0 个答案:

没有答案