main.js 363 B

123456789101112131415161718
  1. import Vue from 'vue'
  2. import ElementUI from 'element-ui'
  3. import 'element-ui/lib/theme-default/index.css'
  4. import './utils/less/custom.less'
  5. import App from './App.vue'
  6. import router from './router'
  7. import 'whatwg-fetch'
  8. Vue.use(ElementUI)
  9. Vue.config.productionTip = false
  10. new Vue({
  11. el: '#app',
  12. router,
  13. template: '<App/>',
  14. components: { App }
  15. })