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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.