Answers for "host angular app on firebase"

4

how to deploy angular site firebase

In the terminal:
$ ng build --prod
$ npm install -g firebase-tools
$ firebase login
$ firebase init //choose dist/<project-name> as public directory
//index.html should not be overwritten
$ firebase deploy
Posted by: Guest on November-03-2020
2

deploying angular app to firebase

{
  "hosting": {
    "public": "dist/your_application_name",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}
Posted by: Guest on September-08-2020
0

update angular website firebase

$ ng build --prod
$ firebase login
$ firebase deploy
Posted by: Guest on November-07-2020

Code answers related to "host angular app on firebase"

Code answers related to "Javascript"

Browse Popular Code Answers by Language