web/src/main.js

34 lines
710 B
JavaScript
Raw Normal View History

2019-07-03 14:50:04 +00:00
import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
2020-02-04 17:54:36 +00:00
import {
2020-02-11 06:48:27 +00:00
Button, Col, Container, Footer, Icon, Image, Link, Main,
Row, Table, TableColumn, Upload, Radio, Checkbox, Progress,
Notification, Tooltip,
2020-02-04 17:54:36 +00:00
} from 'element-ui';
import 'element-ui/lib/theme-chalk/base.css';
2019-07-03 14:50:04 +00:00
2020-02-04 17:54:36 +00:00
Vue.use(Link);
Vue.use(Image);
Vue.use(Button);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Main);
Vue.use(Footer);
Vue.use(Container);
Vue.use(Icon);
Vue.use(Row);
Vue.use(Col);
Vue.use(Upload);
Vue.use(Checkbox);
Vue.use(Radio);
Vue.use(Tooltip);
Vue.use(Progress);
2020-02-04 17:54:36 +00:00
Vue.prototype.$notify = Notification;
2020-02-04 10:24:53 +00:00
Vue.config.productionTip = false;
2019-07-03 14:50:04 +00:00
new Vue({
render: h => h(App),
}).$mount('#app');