Closed ehsanialireza closed 3 years ago
i were using nuxt-firebase in my project(7.3) and everything was working fine. but after i updated to (7.4.1), i can not use analytics. i get this error: Cannot read property 'logEvent' of undefined
code: this.$fireAnalytics.logEvent
and i did not change enything in my code.
whats the solution?
This was changed with v7 already, not after 7.3...
You should use this.$fire.analytics, see https://firebase.nuxtjs.org/community/migrate
this.$fire.analytics
i were using nuxt-firebase in my project(7.3) and everything was working fine. but after i updated to (7.4.1), i can not use analytics. i get this error: Cannot read property 'logEvent' of undefined
code: this.$fireAnalytics.logEvent
and i did not change enything in my code.
whats the solution?