niallobrien / Vue-Vuex-Firebase

An example project demonstrating how to use Vue and Vuex for state management of data from Firebase
26 stars 6 forks source link

modifications to make getter work. #4

Open birchb opened 7 years ago

birchb commented 7 years ago

Just a few minor changes. I'm fairly new to this, so I imagine these changes are not the best solution.

Somehow, using mapGetters was not integrating the getMessages getter. I manually added the getter to store.js, and changed the computed: in Messages.vue.

If I edit to include the URL to my firebase project, it works. Thanks for your work on this project.

acalabano commented 7 years ago

Worked fine without the "vue-style-loader": "^3.0.1" for me! The other changes helped a ton too. Thanks!