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 ElementUI from 'element-ui'
  import VueQuillEditor from 'vue-quill-editor'
  import shared from './shared'
  import 'element-ui/lib/theme-default/index.css'
  import 'vue2-calendar/lib/styles.css'
  
  Vue.config.productionTip = false
  Vue.use(ElementUI)
  Vue.use(VueQuillEditor)
  
  shared.init().then(() => {
    /* eslint-disable no-new */
    new Vue({
      el: '#app',
      router,
      template: '<App/>',
      components: { App }
    })
  }).catch(e => {
    alert('载入时发生错误' + e)
  })
  