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

vuex error #3

Open birchb opened 7 years ago

birchb commented 7 years ago

I'm getting this issue when I clone and run your repository:

[vuex] unknown getter: function getMessages(state) { return state.messages; }

Perhaps the issue is that I'm using Vue 2.x? I'd be happy to supply any other info to assist with clearing the error.

I'm hoping you can help square this away as this appears to be the most rational set of docs for using vuex with Firebase. Thanks!

P.S., I should add that the messages are indeed getting posted to firebase, just not returned.

And, upon even further review, the messages are in state in the dev tools. They are not, however, appearing on the page.