mirror of https://github.com/halo-dev/halo-admin
109 lines
1.6 KiB
JavaScript
109 lines
1.6 KiB
JavaScript
import Vue from 'vue'
|
|
import {
|
|
Anchor,
|
|
AutoComplete,
|
|
Alert,
|
|
Avatar,
|
|
Badge,
|
|
Breadcrumb,
|
|
Button,
|
|
Card,
|
|
Collapse,
|
|
Checkbox,
|
|
Col,
|
|
DatePicker,
|
|
Divider,
|
|
Dropdown,
|
|
Form,
|
|
Icon,
|
|
Input,
|
|
InputNumber,
|
|
Layout,
|
|
List,
|
|
LocaleProvider,
|
|
message,
|
|
Menu,
|
|
Modal,
|
|
notification,
|
|
Pagination,
|
|
Popconfirm,
|
|
Popover,
|
|
Progress,
|
|
Radio,
|
|
Row,
|
|
Select,
|
|
Spin,
|
|
Switch,
|
|
Table,
|
|
Tree,
|
|
TreeSelect,
|
|
Tabs,
|
|
Tag,
|
|
TimePicker,
|
|
Tooltip,
|
|
Upload,
|
|
Drawer,
|
|
Skeleton,
|
|
Comment,
|
|
ConfigProvider,
|
|
Timeline,
|
|
Steps,
|
|
Empty
|
|
} from 'ant-design-vue'
|
|
|
|
Vue.use(Anchor)
|
|
Vue.use(AutoComplete)
|
|
Vue.use(Alert)
|
|
Vue.use(Avatar)
|
|
Vue.use(Badge)
|
|
Vue.use(Breadcrumb)
|
|
Vue.use(Button)
|
|
Vue.use(Card)
|
|
Vue.use(Collapse)
|
|
Vue.use(Checkbox)
|
|
Vue.use(Col)
|
|
Vue.use(DatePicker)
|
|
Vue.use(Divider)
|
|
Vue.use(Drawer)
|
|
Vue.use(Dropdown)
|
|
Vue.use(Form)
|
|
Vue.use(Icon)
|
|
Vue.use(Input)
|
|
Vue.use(InputNumber)
|
|
Vue.use(Layout)
|
|
Vue.use(List)
|
|
Vue.use(LocaleProvider)
|
|
Vue.use(Menu)
|
|
Vue.use(Modal)
|
|
Vue.use(Pagination)
|
|
Vue.use(Popconfirm)
|
|
Vue.use(Popover)
|
|
Vue.use(Progress)
|
|
Vue.use(Radio)
|
|
Vue.use(Row)
|
|
Vue.use(Select)
|
|
Vue.use(Spin)
|
|
Vue.use(Switch)
|
|
Vue.use(Table)
|
|
Vue.use(Tree)
|
|
Vue.use(TreeSelect)
|
|
Vue.use(Tabs)
|
|
Vue.use(Tag)
|
|
Vue.use(TimePicker)
|
|
Vue.use(Tooltip)
|
|
Vue.use(Upload)
|
|
Vue.use(Skeleton)
|
|
Vue.use(Comment)
|
|
Vue.use(ConfigProvider)
|
|
Vue.use(Timeline)
|
|
Vue.use(Steps)
|
|
Vue.use(Empty)
|
|
|
|
Vue.prototype.$message = message
|
|
Vue.prototype.$notification = notification
|
|
Vue.prototype.$info = Modal.info
|
|
Vue.prototype.$success = Modal.success
|
|
Vue.prototype.$error = Modal.error
|
|
Vue.prototype.$warning = Modal.warning
|
|
Vue.prototype.$confirm = Modal.confirm
|