firebase deploy
firebase init
firebase deploy
deploying angular app to firebase
{
"hosting": {
"public": "dist/your_application_name",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
firebase deploy
///////// FIREBASE DEPLOY USING COMMAND LINE //////////////////
// Goto Terminal and Login to firebase below command
=> firebase login
=> firebase init
=> select Hosting: Configure and deploy ... (press space for select)
// press enter after selecting
=> Use an existing project
// select the project name which you built in firebase
// imp type build
=> What do you want to use as your public directory? build
// And then Y for single page web App
=> Configure as a single-page app? Yes
-----------------------NOW RUN-----------------------
=> npm run build
=> firebase deploy
!!!!! Congrats you just deploy your app !!!!!
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