File tree Expand file tree Collapse file tree 1 file changed +27
-24
lines changed Expand file tree Collapse file tree 1 file changed +27
-24
lines changed Original file line number Diff line number Diff line change 1
- import '@babel/polyfill'
2
- import Vue from 'vue'
3
- import App from './App.vue'
4
- import router from './router'
5
- import store from './store/'
6
- import { VueAxios } from '@/utils/request' // axios 不建议引入到 Vue 原型链上
7
-
8
- import './core/use'
9
- import bootstrap from './core/bootstrap'
10
- import '@/permission' // permission control
11
- import '@/utils/filter' // global filter
12
-
13
- Vue . config . productionTip = false
14
-
15
- Vue . use ( VueAxios , router )
16
-
17
- new Vue ( {
18
- router,
19
- store,
20
- created ( ) {
21
- bootstrap ( )
22
- } ,
23
- render : h => h ( App )
24
- } ) . $mount ( '#app' )
1
+ // ie polyfill
2
+ import '@babel/polyfill'
3
+
4
+ import Vue from 'vue'
5
+ import App from './App.vue'
6
+ import router from './router'
7
+ import store from './store/'
8
+ import { VueAxios } from './utils/request'
9
+
10
+ import bootstrap from './core/bootstrap'
11
+ import './core/use'
12
+ import './permission' // permission control
13
+ import './utils/filter' // global filter
14
+
15
+ Vue . config . productionTip = false
16
+
17
+ // mount axios Vue.$http and this.$http
18
+ Vue . use ( VueAxios )
19
+
20
+ new Vue ( {
21
+ router,
22
+ store,
23
+ created ( ) {
24
+ bootstrap ( )
25
+ } ,
26
+ render : h => h ( App )
27
+ } ) . $mount ( '#app' )
You can’t perform that action at this time.
0 commit comments