Connecting the Vuex store to the Firebase database

So, now we have to connect our Vuex store to the Firebase database. We could use the native Firebase API for binding the state data to the database data, but why would we deal with promises and stuff if someone already did that for us? This someone is called Eduardo and he has created Vuexfire – Firebase bindings for Vuex (https://github.com/posva/vuexfire). If you were at the vueconf2017 conference in Wroclaw, you probably remember this guy:

Connecting the Vuex store to the Firebase database

Eduardo talking about Vue and Firebase during the Vue conference

Vuexfire comes with Firebase mutations and actions that will do all the behind the scenes jobs ...

Get Vue.js 2 and Bootstrap 4 Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.