main.js 437 B

12345678910111213141516171819
  1. import Vue from 'vue'
  2. import App from './App.vue'
  3. import router from './router'
  4. import store from './store'
  5. import ElementUI from 'element-ui'
  6. import 'element-ui/lib/theme-chalk/index.css'
  7. import echarts from 'echarts'
  8. import http from "./utils/http";
  9. Vue.config.productionTip = false
  10. Vue.use(ElementUI);
  11. Vue.prototype.$echarts = echarts
  12. Vue.prototype.$http = http;
  13. new Vue({
  14. router,
  15. store,
  16. render: h => h(App)
  17. }).$mount('#app')