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
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
deploying angular app to firebase
{
"hosting": {
"public": "dist/your_application_name",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
update angular website firebase
$ ng build --prod
$ firebase login
$ firebase deploy
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us