// 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 ElementUI from 'element-ui';
import http from './api/http';
import 'element-ui/lib/theme-chalk/index.css';
import publicMethods from './assets/publicMethods';
import md5 from '../static/md5';
Vue.use(ElementUI);
//  引入api
import axios from 'axios' // 接口封装，请求拦截
Vue.prototype.$axios = axios;
Vue.prototype.$http = http;
Vue.prototype.$md5 = md5;
Vue.prototype.$public = publicMethods;
Vue.config.productionTip = false;
// Vue.prototype.$axios.defaults.baseURL = 'http://192.168.2.186:8090'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  components: { App },
  template: '<App/>'
})
