// 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 './assets/css/common.css'
import ProLayout, { PageHeaderWrapper } from '@ant-design-vue/pro-layout'
// import themePluginConfig from '../config/themePluginConfig'
// import i18n from './locales'
// mock
// WARNING: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV.
// import './mock'
// import { VueAxios } from './utils/request'
// Vue.use(VueAxios)
// import bootstrap from './core/bootstrap'
import './core/lazy_use'
import './permission' // permission control
import './utils/filter' // global filter
import './global.less'

import http from '@/utils/request.js'
Vue.prototype.$http = http

Vue.config.productionTip = false


Vue.component('pro-layout', ProLayout)
Vue.component('page-header-wrapper', PageHeaderWrapper)

// window.umi_plugin_ant_themeVar = themePluginConfig.theme
// 

new Vue({
  router,
  store,
  // i18n,
  // created: bootstrap,
  render: h => h(App)
}).$mount('#app')
