web/src/plugins/element.js

32 lines
490 B
JavaScript
Raw Normal View History

2019-07-03 14:54:29 +00:00
import Vue from 'vue'
import {
Button,
2019-11-23 07:10:08 +00:00
Col,
Container,
2019-11-23 07:10:08 +00:00
Footer,
Icon,
2019-11-23 07:10:08 +00:00
Image,
Link,
Main,
Notification,
2019-11-23 07:10:08 +00:00
Row,
Table,
TableColumn,
Upload
} from 'element-ui';
2019-07-03 14:54:29 +00:00
import 'element-ui/lib/theme-chalk/index.css'
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.prototype.$notify = Notification;