模拟大屏环境
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 'element-ui/lib/theme-chalk/index.css';
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
Vue.use(ElementUI);
|
|
||||||
|
|
||||||
window.axios = axios
|
window.axios = axios
|
||||||
|
|
||||||
|
Vue.use(ElementUI);
|
||||||
window.$glob = {}
|
window.$glob = {}
|
||||||
new Vue({
|
import('./utils/fetch.js').then(() => {
|
||||||
router,
|
new Vue({
|
||||||
render: (h) => h(App)
|
router,
|
||||||
}).$mount('#app')
|
render: (h) => h(App)
|
||||||
|
}).$mount('#app')
|
||||||
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user