Skip to content
Permalink
Browse files

Firebaseプロジェクトの初期化コードスニペットを貼り付け

  • Loading branch information...
h-sakano committed Dec 2, 2018
1 parent 086399a commit 4308dc081a99c85d7ce41c7e1849c94f00562b30
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/main.ts
@@ -1,10 +1,21 @@
import Vue from 'vue'
import firebase from 'firebase/app'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

const config = {
apiKey: 'AIzaSyAfrGwmwrla9a8flFCFmkl4FIBMZxORqdU',
authDomain: 'advent-calendar-2018-app-7a5d3.firebaseapp.com',
databaseURL: 'https://advent-calendar-2018-app-7a5d3.firebaseio.com',
projectId: 'advent-calendar-2018-app-7a5d3',
storageBucket: '',
messagingSenderId: '298560560632',
}
firebase.initializeApp(config)

new Vue({
router,
store,

0 comments on commit 4308dc0

Please sign in to comment.
You can’t perform that action at this time.