Is it possible to pass a Firebase reference as a prop from the top-level component in Vue.js to a child component?
<template>
<div id="app">
<NavBar />
<router-view db="pass the db ref here" storage="pass the storage ref here" />
</div>
</template>
<script>
import { db, storage } from './config/firebase';
import NavBar from './components/NavBar';
export default {
name: 'app',
components: {
NavBar,
},
};
</script>