1234567891011121314151617181920212223242526 |
- import Vue from 'vue'
- import App from './App.vue'
- import router from './router'
- import ElementUI from 'element-ui';
- import 'element-ui/lib/theme-chalk/index.css';
- const config = require('./config.js')
- //引入初始化样式
- import './assets/css/base.css'
- Vue.use(ElementUI);
- // Vue.mixin({
- // })
- Vue.prototype.$homePageUrl = location.origin + location.pathname
- Vue.prototype.$eventBus = new Vue({})
- Vue.config.productionTip = false
- console.log(config.version);
- new Vue({
- router,
- render: h => h(App)
- }).$mount('#app')
|