mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
49 lines
813 B
JavaScript
49 lines
813 B
JavaScript
import Vue from 'vue'
|
|
//import ElementUI from 'element-ui'
|
|
import {
|
|
Button,
|
|
Form,
|
|
FormItem,
|
|
Row,
|
|
Col,
|
|
Table,
|
|
TableColumn,
|
|
Popover,
|
|
Menu,
|
|
Submenu,
|
|
MenuItem,
|
|
Tag
|
|
} from 'element-ui'
|
|
import lang from 'element-ui/lib/locale/lang/en'
|
|
import locale from 'element-ui/lib/locale'
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
import './utils/less/custom.less'
|
|
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import 'whatwg-fetch'
|
|
|
|
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)
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
template: '<App/>',
|
|
components: { App }
|
|
})
|