[Vuejs]-How to route to a randomly generated firestore id in Vue?

0👍

Try Initialize your categories:[] under data (i don’t see it applied yet)

then this.$firestore.categories to this.categories instead. The data binding should be reacting to new push/add of the array connected to Firestore

Check Example of addTodo method https://github.com/vuejs/vuefire/blob/master/packages/vuefire/examples/index.html

Leave a comment