mirror of
https://github.com/woodchen-ink/md-wechat.git
synced 2025-07-18 13:42:02 +08:00
42 lines
594 B
JavaScript
42 lines
594 B
JavaScript
import Vue from 'vue'
|
|
import {
|
|
Container,
|
|
Header,
|
|
Upload,
|
|
Tooltip,
|
|
Form,
|
|
FormItem,
|
|
Select,
|
|
Option,
|
|
ColorPicker,
|
|
Switch,
|
|
Button,
|
|
Main,
|
|
Col,
|
|
Row,
|
|
Dialog,
|
|
Loading,
|
|
Message
|
|
} from 'element-ui'
|
|
|
|
Vue.use(Container)
|
|
Vue.use(Header)
|
|
Vue.use(Upload)
|
|
Vue.use(Tooltip)
|
|
Vue.use(Form)
|
|
Vue.use(FormItem)
|
|
Vue.use(Select)
|
|
Vue.use(Option)
|
|
Vue.use(ColorPicker)
|
|
Vue.use(Switch)
|
|
Vue.use(Button)
|
|
Vue.use(Main)
|
|
Vue.use(Col)
|
|
Vue.use(Row)
|
|
Vue.use(Dialog)
|
|
Vue.use(Loading)
|
|
Vue.component(Message.name, Message)
|
|
|
|
Vue.prototype.$loading = Loading.service
|
|
Vue.prototype.$message = Message
|