Install Angular CLI
npm install -g @angular/cli
New Project
ng new my-project-name
Build project
ng build --prod
Add firebase schematics
ng add @angular/fire
Firebase login/init
firebase login firebase init
Firebase deploy
firebase deploy
来源:https://www.cnblogs.com/flowerbear/p/12460141.html