Skip to content

two way data binding #583

Answered by lupas
a0m0rajab asked this question in Q&A
Sep 17, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@a0m0rajab
It's a bit outdated, but this example I once wrote shows the use of vuexfire in comination with nuxt/firebase:
https://firebase.nuxtjs.org/tutorials/vuexfire

  1. How you would set up the store:
    https://github.com/lupas/nuxt-fire-vuexfire-example/blob/master/store/index.js

  2. How you would bind it on client- & server-side.
    https://github.com/lupas/nuxt-fire-vuexfire-example/blob/master/pages/ssr-vuexfire/index.vue

Vuefire should work in a similar fashion. Hope that helps,

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@a0m0rajab
Comment options

@lupas
Comment options

Answer selected by lupas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants