模拟大屏环境
This commit is contained in:
15
src/main.js
15
src/main.js
@@ -6,11 +6,14 @@ import ElementUI from 'element-ui';
|
||||
import 'element-ui/lib/theme-chalk/index.css';
|
||||
import axios from 'axios'
|
||||
|
||||
Vue.use(ElementUI);
|
||||
|
||||
window.axios = axios
|
||||
|
||||
Vue.use(ElementUI);
|
||||
window.$glob = {}
|
||||
new Vue({
|
||||
router,
|
||||
render: (h) => h(App)
|
||||
}).$mount('#app')
|
||||
import('./utils/fetch.js').then(() => {
|
||||
new Vue({
|
||||
router,
|
||||
render: (h) => h(App)
|
||||
}).$mount('#app')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user