text: import Vue from 'vue'
  import App from './App.vue'
  import './registerServiceWorker'
  import router from './router'
  import store from './store'
  import Element from 'element-ui'
  import 'element-ui/lib/theme-chalk/index.css'
  import 'font-awesome/css/font-awesome.css'
  import {websocket} from '@/utils/websocket.js'
  import VueI18n from 'vue-i18n'
  Vue.use(VueI18n)
  const i18n = new VueI18n({
    locale: 'zh_CN',
    messages: {
      'zh_CN': require('@/assets/lang/zh_CN.json'),
      'en_US': require('@/assets/lang/en_US.json')
    }
  })
  
  var axios = require('axios')
  const baseURL = process.env.VUE_APP_MODEL_BASE_URL
  
  // cookies相关
  const $cookies = require('vue-cookies')
  Vue.use($cookies)
  // 后台地址
  // axios.defaults.baseURL = 'http://47.93.235.133/'
  axios.defaults.baseURL = baseURL
  // 允许跨域携带数据
  axios.defaults.withCredentials = true
  // 全局注册，这样在其他组件中就能通过 this.$axios 来调用http服务
  Vue.prototype.$axios = axios
  Vue.prototype.$ws = websocket
  
  Vue.config.productionTip = false
  Vue.config.devtools = true
  
  Vue.use(Element)
  
  console.log(process.env.NODE_ENV)
  
  new Vue({
    router,
    store,
    i18n,
    render: h => h(App)
  }).$mount('#app')
  