Answers for "deploy angular project to 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

how to deploy firebase angular 10

$ ng add @angular/fire
Posted by: Guest on October-10-2020

Code answers related to "deploy angular project to firebase"

Code answers related to "Javascript"

Browse Popular Code Answers by Language