Last active
February 7, 2018 06:32
-
-
Save artokun/17ef8187be063ef8e7c8c7cbcf6bb34e to your computer and use it in GitHub Desktop.
Revisions
-
artokun revised this gist
Feb 7, 2018 . 1 changed file with 11 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,10 @@ import Vue from 'vue'; import App from './App'; import router from './router'; /* Import the firebase SDK and extend with firestore */ import firebase from 'firebase'; require('firebase/firestore'); /* Paste your firebase configuration below */ const config = { @@ -13,18 +16,18 @@ const config = { messagingSenderId: '521493369838', }; /* Initialize firebase with your configuration */ firebase.initializeApp(config); /* Bind firebase to your Vue instance */ Vue.prototype.$firebase = firebase; Vue.config.productionTip = false; /* eslint-disable no-new */ new Vue({ el: '#app', router, components: { App }, template: '<App/>', }); -
artokun created this gist
Feb 7, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ import Vue from 'vue' import App from './App' import router from './router' import firebase from 'firebase'; // import the firebase SDK /* Paste your firebase configuration below */ const config = { apiKey: 'AIzaSyDNB0VRHot9Z3vxNBvxR9JDFIad2QbAY4Y', authDomain: 'system-builder-d9645.firebaseapp.com', databaseURL: 'https://system-builder-d9645.firebaseio.com', projectId: 'system-builder-d9645', storageBucket: 'system-builder-d9645.appspot.com', messagingSenderId: '521493369838', }; /* Initialise firebase with your configuration */ firebase.initializeApp(config); /* Bind firebase to your Vue instance */ Vue.prototype.$firebase = firebase; Vue.config.productionTip = false /* eslint-disable no-new */ new Vue({ el: '#app', router, components: { App }, template: '<App/>' })