× TypeError: firebase_app__WEBPACK_IMPORTED_MODULE_11___default.a.database.ref 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>