<repo_name>AbelTarazona/vue-firebase<file_sep>/src/main.js
import Vue from 'vue'
import firebase from 'firebase'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false;

let app = '';

firebase.initializeApp({
  apiKey: "<KEY>",
  authDomain: "implementacion-b0389.firebaseapp.com",
  databaseURL: "https://implementacion-b0389.firebaseio.com",
  projectId: "implementacion-b0389",
  storageBucket: "",
  messagingSenderId: "99166295648",
  appId: "1:99166295648:web:781541d66c2269a4"
});

firebase
  .auth()
  .onAuthStateChanged(() => {
    if (!app) {
      app = new Vue({
        router,
        render: h => h(App)
      }).$mount('#app')
    }
  });
<file_sep>/README.md
# vue-firebase

## Instalar dependencias
```
npm install
```

### Compilar servidor
```
npm run serve
```
