Firebase error
I'm having troublue using Firebase with Nuxt, even following this video: https://www.youtube.com/watch?v=_pSkWZxLXsA
I'm still getting the error: Error adding document: FirebaseError: Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore
I use Firebase as a plugin using the following code:
In my template I'm using this:
Thanks in advance!
I'm still getting the error: Error adding document: FirebaseError: Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore
I use Firebase as a plugin using the following code:
In my template I'm using this:
Thanks in advance!
YouTubeNet Ninja
In this Nuxt & Pinia tutorial series, you'll learn how to manage Firestore data within a Pinia store.

Get access to ALL premium courses on NetNinja.dev:
https://netninja.dev/

Access the course files on GitHub:
https://github.com/iamshaunjp/pinia-with-firestore

Starter project on GitHub:
https://github.com/iamshaunjp/pinia-with-fire...
https://netninja.dev/
https://github.com/iamshaunjp/pinia-with-firestore
https://github.com/iamshaunjp/pinia-with-fire...

