import Vue from 'vue' import ElementUI from 'element-ui' import 'element-ui/lib/theme-default/index.css' import './utils/less/custom.less' import App from './App.vue' import router from './router' import 'whatwg-fetch' Vue.use(ElementUI) Vue.config.productionTip = false new Vue({ el: '#app', router, template: '', components: { App } })