1234567891011121314151617181920212223242526272829303132 |
- // with polyfills
- import 'core-js/stable'
- import 'regenerator-runtime/runtime'
- import Vue from 'vue'
- import App from './App.vue'
- import router from './router'
- import store from './store/'
- import { VueAxios } from './utils/request'
- // WARNING: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV.
- import './mock'
- import bootstrap from './core/bootstrap'
- import './core/lazy_use'
- import './permission' // permission control
- import './utils/filter' // global filter
- import './components/global.less'
- import { Dialog } from '@/components'
- import { hasBtnPermission } from './utils/permissions' // button permission
- import { sysApplication } from './utils/applocation'
- Vue.use(VueAxios)
- Vue.use(Dialog)
- Vue.prototype.hasPerm = hasBtnPermission
- Vue.prototype.applocation = sysApplication
- Vue.config.productionTip = false
- new Vue({
- router,
- store,
- created: bootstrap,
- render: h => h(App)
- }).$mount('#app')
|