2017-03-27 02:15:31 +08:00
|
|
|
import Vue from 'vue'
|
2020-12-03 20:20:48 +08:00
|
|
|
// import ElementUI from 'element-ui'
|
|
|
|
import { Button, Form, FormItem, Row, Col, Table, TableColumn, Popover, Menu, Submenu, MenuItem, Tag, Message } from 'element-ui'
|
2018-05-16 02:51:02 +08:00
|
|
|
import lang from 'element-ui/lib/locale/lang/en'
|
|
|
|
import locale from 'element-ui/lib/locale'
|
|
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
2017-03-27 02:15:31 +08:00
|
|
|
import './utils/less/custom.less'
|
|
|
|
|
|
|
|
import App from './App.vue'
|
|
|
|
import router from './router'
|
2020-12-03 20:20:48 +08:00
|
|
|
import store from '@/store'
|
2017-03-28 01:08:04 +08:00
|
|
|
import 'whatwg-fetch'
|
2017-03-27 02:15:31 +08:00
|
|
|
|
2018-05-16 02:51:02 +08:00
|
|
|
locale.use(lang)
|
|
|
|
|
|
|
|
Vue.use(Button)
|
|
|
|
Vue.use(Form)
|
|
|
|
Vue.use(FormItem)
|
|
|
|
Vue.use(Row)
|
|
|
|
Vue.use(Col)
|
|
|
|
Vue.use(Table)
|
|
|
|
Vue.use(TableColumn)
|
|
|
|
Vue.use(Popover)
|
|
|
|
Vue.use(Menu)
|
|
|
|
Vue.use(Submenu)
|
|
|
|
Vue.use(MenuItem)
|
|
|
|
Vue.use(Tag)
|
2020-12-03 20:20:48 +08:00
|
|
|
Vue.prototype.$message = Message
|
|
|
|
|
|
|
|
import fetch from '@/utils/fetch'
|
|
|
|
Vue.prototype.$fetch = fetch
|
2018-05-16 02:51:02 +08:00
|
|
|
|
2017-03-27 02:15:31 +08:00
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
|
|
|
new Vue({
|
2020-12-03 20:20:48 +08:00
|
|
|
router,
|
|
|
|
store,
|
|
|
|
render: h => h(App)
|
|
|
|
}).$mount('#app')
|