main.js 622 B

1234567891011121314151617181920212223
  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/css/base.css'
  9. import axios from 'axios'
  10. import VueAxios from 'vue-axios'
  11. import store from './store/store.js'
  12. Vue.config.productionTip = false;
  13. Vue.use(ElementUI);
  14. Vue.use(VueAxios, axios)
  15. /* eslint-disable no-new */
  16. new Vue({
  17. el: '#app',
  18. router,
  19. store,
  20. components: { App },
  21. template: '<App/>'
  22. })