From 91ba19d87831ea65bca8e2f011fcb6a80903805a Mon Sep 17 00:00:00 2001 From: MengYX Date: Wed, 5 Feb 2020 01:54:36 +0800 Subject: [PATCH] Bump Version --- package-lock.json | 2 +- package.json | 2 +- src/main.js | 36 +++++++++++++++++++++++++++++++++--- src/plugins/element.js | 31 ------------------------------- 4 files changed, 35 insertions(+), 36 deletions(-) delete mode 100644 src/plugins/element.js diff --git a/package-lock.json b/package-lock.json index f4fa7f8..bdf61d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "unlock-music", - "version": "1.1.2", + "version": "1.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index cbe232f..664c02d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unlock-music", - "version": "1.1.2", + "version": "1.1.3", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/main.js b/src/main.js index 174e97a..7247b65 100644 --- a/src/main.js +++ b/src/main.js @@ -1,10 +1,40 @@ import Vue from 'vue' -import { Radio } from 'element-ui' import App from './App.vue' import './registerServiceWorker' -import './plugins/element.js' +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' -Vue.component(Radio.name, Radio) +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; // only if your build system can import css, otherwise import it wherever you would import your css. Vue.config.productionTip = false; diff --git a/src/plugins/element.js b/src/plugins/element.js deleted file mode 100644 index 211c89f..0000000 --- a/src/plugins/element.js +++ /dev/null @@ -1,31 +0,0 @@ -import Vue from 'vue' -import { - Button, - Col, - Container, - Footer, - Icon, - Image, - Link, - Main, - Notification, - Row, - Table, - TableColumn, - Upload -} from 'element-ui'; -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;