27 lines
535 B
JavaScript
27 lines
535 B
JavaScript
|
|
import Vue from 'vue'
|
||
|
|
import router from './router'
|
||
|
|
import './assets/css/global.css'
|
||
|
|
import './assets/iconfont/iconfont.css'
|
||
|
|
import App from './App'
|
||
|
|
import store from './store'
|
||
|
|
import ElementUI from 'element-ui';
|
||
|
|
import 'element-ui/lib/theme-chalk/index.css';
|
||
|
|
import { Message } from 'element-ui';
|
||
|
|
|
||
|
|
Vue.prototype.$eventBus = new Vue()
|
||
|
|
Vue.config.productionTip = false;
|
||
|
|
Vue.use(ElementUI);
|
||
|
|
Vue.prototype.$message = Message;
|
||
|
|
|
||
|
|
|
||
|
|
new Vue({
|
||
|
|
el: '#app',
|
||
|
|
router,
|
||
|
|
store,
|
||
|
|
components: { App },
|
||
|
|
template: '<App/>',
|
||
|
|
created() {
|
||
|
|
|
||
|
|
}
|
||
|
|
})
|