nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
641 stars 99 forks source link

this.$fireStoreObj.Timestamp.now() not working, suggestions on what to try please. #562

Closed teomankirac closed 2 years ago

teomankirac commented 2 years ago

I am using the nuxt-firebase module. I keep getting a Timestamp is not defined. My this.$fireStoreObj works as expected everywhere else in my code, but for some reason Timestamp.now(), serverTimestamp(), FieldValue.serverTimestamp(), etc. is not working. Could it be some version discrepancies? Any suggestion on what to try would be greatly appreciated. Thank you.

createdAt: this.$fireStoreObj.Timestamp.now(),