fireship-io / fireship.io

Build and ship your app faster https://fireship.io
3.56k stars 1.31k forks source link

courses/angular/app-firebase-setup/ #746

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Firebase Setup

Add Firebase and @angular/fire to your app

https://fireship.io/courses/angular/app-shared-module/

itsmikeferrari commented 2 years ago

Hey Jeff, this chapter is missing a small bit of video showing your terminal after running ng add @angular/fire, specifically choosing which parts of your app to setup. $ ng add @angular/fire ? What features would you like to setup? ? Which Firebase account would you like to use? ? Please select a project: ? Please select a hosting site: ? Please select an app:

shawnweeks commented 2 years ago

The imports are out of date as of the v7 update. See https://github.com/angular/angularfire/blob/master/docs/version-7-upgrade.md

Here are the update imports so you can still follow along.

import { AngularFireModule } from '@angular/fire/compat';
import { AngularFirestoreModule } from '@angular/fire/compat/firestore';
import { AngularFireAuthModule } from '@angular/fire/compat/auth';