mirror of
https://git.um-react.app/um/web.git
synced 2025-12-13 02:33:01 +00:00
Optimize Import
This commit is contained in:
17
src/main.js
17
src/main.js
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user