text: // The Vue build version to load with the `import` command
  // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  import Vue from 'vue'
  import App from './App'
  import router from './router'
  import store from '@/store'
  import AppDate from '@/components/AppDate'
  import firebase from 'firebase'
  import vuelidate from 'vuelidate'
  
  Vue.use(vuelidate)
  Vue.component('AppDate', AppDate)
  Vue.config.productionTip = false
  // Vue.config.silent = true
  
  /*
  * Make sure the 'read' and 'write' are 'true' in firebase rule
  */
  
  /*
  * Read data from config/prod.env.js
  */
  const config = {
    apiKey: process.env.FIREBASE_API_KEY,
    authDomain: process.env.FIREBASE_AUTH_DOMAIN,
    databaseURL: process.env.FIREBASE_DATABASE_URL,
    projectId: process.env.FIREBASE_PROJECT_ID,
    storageBucket: process.env.FIREBASE_STORAGE_BUCKET,
    messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID
  }
  firebase.initializeApp(config)
  
  /* eslint-disable no-new */
  new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
  })
  