无法将Angle 6应用部署到Firebase,我一直都得到欢迎屏幕

时间:2018-10-26 14:50:52

标签: firebase deployment angular6 firebase-hosting

首先,我遵循的是使用/ dist文件夹的旧教程。然后经过一些研究,我发现角度6使用dist / project_folder。我将所有内容重建了百万次,经过整个过程而没有任何错误,但是转到url时,我看到了

Welcome
Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

firebase.json

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

怎么了?

0 个答案:

没有答案