1
0
forked from um/web
qqmusicunlock/src/main.ts

57 lines
899 B
TypeScript
Raw Normal View History

import Vue from 'vue';
import App from '@/App.vue';
import '@/registerServiceWorker';
2020-02-04 17:54:36 +00:00
import {
Button,
Checkbox,
Col,
Container,
Dialog,
Form,
FormItem,
Footer,
Icon,
Image,
Input,
Link,
Main,
Notification,
Progress,
Radio,
Row,
Table,
TableColumn,
Tooltip,
Upload,
MessageBox,
2020-02-04 17:54:36 +00:00
} from 'element-ui';
import 'element-ui/lib/theme-chalk/base.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(Dialog);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
2020-02-04 17:54:36 +00:00
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.use(Tooltip);
Vue.use(Progress);
2020-02-04 17:54:36 +00:00
Vue.prototype.$notify = Notification;
2021-05-24 19:06:28 +00:00
Vue.prototype.$confirm = MessageBox.confirm;
2020-02-04 10:24:53 +00:00
Vue.config.productionTip = false;
2019-07-03 14:50:04 +00:00
new Vue({
render: (h) => h(App),
}).$mount('#app');