main.js 603 B

12345678910111213141516171819202122232425
  1. // The Vue build version to load with the `import` command
  2. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  3. import Vue from 'vue'
  4. import App from './App'
  5. import router from './router'
  6. import ElementUI from 'element-ui';
  7. import 'element-ui/lib/theme-chalk/index.css';
  8. import './assets/icon/iconfont.css'
  9. import store from './store/index.js';
  10. import axios from 'axios';
  11. Vue.prototype.$axios=axios;
  12. Vue.config.productionTip = false
  13. Vue.use(ElementUI);
  14. /* eslint-disable no-new */
  15. new Vue({
  16. el: '#app',
  17. router,
  18. store,
  19. components: { App },
  20. template: '<App/>'
  21. })