Optimize Import

This commit is contained in:
MengYX
2020-02-11 14:48:27 +08:00
parent 41a45176be
commit 10f09958c4
8 changed files with 33 additions and 50 deletions

View File

@@ -2,21 +2,9 @@ import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import {
Button,
Col,
Container,
Footer,
Icon,
Image,
Link,
Main,
Button, Col, Container, Footer, Icon, Image, Link, Main,
Row, Table, TableColumn, Upload, Radio, Checkbox,
Notification,
Row,
Table,
TableColumn,
Upload,
Radio,
Checkbox
} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
@@ -36,7 +24,6 @@ Vue.use(Checkbox);
Vue.use(Radio);
Vue.prototype.$notify = Notification;
// only if your build system can import css, otherwise import it wherever you would import your css.
Vue.config.productionTip = false;
new Vue({