Home > OS >  How could I import AngularFirestoreModule correctly?
How could I import AngularFirestoreModule correctly?

Time:05-21

import problem

I've tried to import AngularFirestoreModule but it doesn't want to work

CodePudding user response:

The module is exported by @angular/fire/compat/firestore, so:

import { AngularFirestoreModule } from '@angular/fire/compat/firestore';
  • Related