0
Q:

deploying angular app to firebase

In the terminal:
$ ng build --prod
$ npm install -g firebase-tools
$ firebase login
$ firebase init
$ firebase deploy
1
{
  "hosting": {
    "public": "dist/your_application_name",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}
1

New to Communities?

Join the community