Browse Source

Bump Version

20230320
MengYX 5 years ago
parent
commit
91ba19d878
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 2
      package-lock.json
  2. 2
      package.json
  3. 36
      src/main.js
  4. 31
      src/plugins/element.js

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "unlock-music",
"version": "1.1.2",
"version": "1.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
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",

36
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;

31
src/plugins/element.js

@ -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;
Loading…
Cancel
Save