web/src/main.js

45 lines
802 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 {
Button,
Col,
Container,
Footer,
Icon,
Image,
Link,
Main,
Notification,
Row,
Table,
TableColumn,
Upload,
Radio,
Checkbox
} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.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.prototype.$notify = Notification;
2020-02-04 10:24:53 +00:00
// only if your build system can import css, otherwise import it wherever you would import your css.
Vue.config.productionTip = false;
2019-07-03 14:50:04 +00:00
new Vue({
render: h => h(App),
}).$mount('#app');