import Vue from 'vue'

import router from './router'
import MainLayout from './layouts/MainLayout'
import store from './store'

/* eslint-disable no-new */
new Vue({
  el: '#root',
  data: {},
  router,
  store,
  template: '<main-layout/>',
  components: {
    MainLayout
  }
})

debugger

if (__DEV__) {
  // Remove productionTip
  Vue.config.productionTip = false

  /**
   * See: https://github.com/glenjamin/webpack-hot-middleware/issues/43
   */
  if (module.hot) {
    // TODO: module hot replace need more
    module.hot.accept()
  }
}

import Vue from 'vue'

import router from './router'
import MainLayout from './layouts/MainLayout'
import store from './store'

/* eslint-disable no-new */
new Vue({
  el: '#root',
  data: {},
  router,
  store,
  template: '<main-layout/>',
  components: {
    MainLayout
  }
})

if (__DEV__) {
  // Remove productionTip
  Vue.config.productionTip = false

  /**
   * See: https://github.com/glenjamin/webpack-hot-middleware/issues/43
   */
  if (module.hot) {
    // TODO: module hot replace need more
    module.hot.accept()
  }
}

remove debugger