0👍
Did you add the plugin? (firestorePlugin
in case of firestore)
import { rtdbPlugin } from 'vuefire';
Vue.use(rtdbPlugin);
Also, is drivers
a collection? It should be db.collection('drivers')
then.
- [Vuejs]-VueJS how to import and load components dynamically as a list is rendered
- [Vuejs]-Laravel vue and js in blade dilemma
Source:stackexchange.com