import Vue from 'vue' import App from './App.vue' import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import router from './router' import store from './store' import Message from './components/message'; import erupload from "./components/upload"; Vue.use(ElementUI); Vue.use(Message) Vue.component('erupload', erupload) const vm = new Vue({ el: '#app', router, store, render: h => h(App) }).$mount('#app') export default vm