lepu-test-platform-web/plugins/element.js

50 lines
1.2 KiB
JavaScript
Raw Normal View History

import Vue from 'vue'
import {
Button, Form, FormItem, Input, Message, Container, Header, Aside, Main, Menu, Submenu,
MenuItem, MenuItemGroup, Breadcrumb, BreadcrumbItem, Card, Row, Col, Table, TableColumn, Switch,
Tooltip, Pagination, Dialog, MessageBox, Select, Option, DatePicker, Tabs, TabPane, Radio, RadioGroup,
Upload, Loading, CheckboxGroup, Checkbox, Tag, Image, Tree, Dropdown
} from 'element-ui'
Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Header)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(Select)
Vue.use(Option)
Vue.use(DatePicker)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Upload)
Vue.use(Loading)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Tag)
Vue.use(Image)
Vue.use(Tree)
Vue.use(Dropdown)
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$message = Message