[Vuejs]-Firebase not defined in Vue JS

0👍

you have to import firebase on your component and also firebase/auth since you are using auth() :

On src/views/Register.vue :

<script>
   import firebase from "firebase/app";
   import "firebase/auth";
   export default {....

0👍

Please have a look at this tutorial.

Leave a comment