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.
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(),