frp/web/frps/src/main.js

49 lines
813 B
JavaScript
Raw Normal View History

2017-03-27 02:15:31 +08:00
import Vue from 'vue'
2018-05-16 02:51:02 +08:00
//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'
2017-03-27 02:15:31 +08:00
import './utils/less/custom.less'
import App from './App.vue'
import router from './router'
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)
2017-03-27 02:15:31 +08:00
Vue.config.productionTip = false
new Vue({
el: '#app',
router,
template: '<App/>',
components: { App }
})