| | |
| | | import themePluginConfig from '../config/themePluginConfig' |
| | | // mock |
| | | // WARNING: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV. |
| | | // import Antd from 'ant-design-vue' |
| | | |
| | | // import 'ant-design-vue/dist/reset.css' |
| | | import bootstrap from './core/bootstrap' |
| | | import './core/lazy_use' // use lazy load components |
| | | import './permission' // permission control |
| | | import './utils/filter' // global filter |
| | | import './global.less' |
| | | window['console']['log'] = function () {} // global style |
| | | // window['console']['log'] = function () {} // global style |
| | | |
| | | Vue.config.productionTip = false |
| | | import { Image } from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | |
| | | Vue.use(Image) |
| | | Vue.prototype.$host = process.env.VUE_APP_API_BASE_URL |
| | | // mount axios to `Vue.$http` and `this.$http` |
| | | Vue.use(VueAxios) |
| | | // Vue.use(Antd) |
| | | // use pro-layout components |
| | | Vue.component('pro-layout', ProLayout) |
| | | Vue.component('page-container', PageHeaderWrapper) |
| | |
| | | i18n, |
| | | // init localstorage, vuex, Logo message |
| | | created: bootstrap, |
| | | render: h => h(App) |
| | | render: (h) => h(App), |
| | | }).$mount('#app') |