Closed baronTommy closed 5 years ago
yes, it works if you wait for bindFirebaseRef in asyncData
@posva Thank you
@posva is there a simple example of bindFirebaseRef with Nuxt for Firestore? I'm simply trying to bind to a single document. I have my dispatch
in asyncData
as below,. It fetches the data initially but doesn't update live.
async asyncData ({params,store}){ if(store.getters.user.uid) await store.dispatch('g/checkFollowing',
groups/${params.id}/follows/${store.getters.user.uid}) return {} },
Nuxt.js + vuexfire Does it work with SSR?
pages/users.vue
store/users.js