TypeError: gatsby_plugin_firebase__WEBPACK_IMPORTED_MODULE_1__.default.database is not a function code example
Example: firebase.database is not a function
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-database.js"></script>