commit | author | age
|
9bcb19
|
1 |
import 'core-js/stable' |
I |
2 |
import 'regenerator-runtime/runtime' |
|
3 |
import Vue from 'vue' |
|
4 |
import App from './App.vue' |
|
5 |
import router from './router' |
|
6 |
import store from './store/' |
|
7 |
import { VueAxios } from './utils/request' |
|
8 |
import bootstrap from './core/bootstrap' |
|
9 |
import './core/lazy_use' |
|
10 |
import './permission' |
|
11 |
import './utils/filter' |
|
12 |
import './components/global.less' |
|
13 |
import { Dialog } from '@/components' |
|
14 |
import { hasBtnPermission } from './utils/permissions' |
|
15 |
import { sysApplication } from './utils/applocation' |
|
16 |
|
|
17 |
Vue.use(VueAxios) |
|
18 |
Vue.use(Dialog) |
|
19 |
Vue.prototype.hasPerm = hasBtnPermission |
|
20 |
Vue.prototype.applocation = sysApplication |
|
21 |
Vue.config.productionTip = false |
|
22 |
|
|
23 |
new Vue({ |
|
24 |
router, |
|
25 |
store, |
|
26 |
created: bootstrap, |
|
27 |
render: h => h(App) |
|
28 |
}).$mount('#app') |