// 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 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import '@/assets/icon/iconfont.css'

// axios.defaults.baseURL = 'http://192.168.0.249:8080/'
// axios.defaults.baseURL = '/'
Vue.config.productionTip = false
Vue.prototype.$http = axios
Vue.prototype.$bus = new Vue()

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

document.documentElement.className += ' ie' + document.documentMode
