[Vuejs]-Generating dynamic routes in Nuxt with Cloud Firestore using @nuxtjs/firebase

0👍

I also encountered the error:

TypeError: Cannot read property ‘$fire’ of undefined

After following this demo of Nuxt and Firebase, it fixed by adding '@nuxtjs/firebase' inside the buildModules that didn’t mention from the tutorial:

nuxt.config.js

buildModules: [
    '@nuxtjs/firebase'
],

Leave a comment