2020-05-27 11:11:46 +00:00
|
|
|
import '@babel/polyfill';
|
|
|
|
import { createApp } from 'vue';
|
2020-03-23 03:00:24 +00:00
|
|
|
import App from './App.vue';
|
2020-06-08 07:38:07 +00:00
|
|
|
import Avatar from 'ant-design-vue/avatar';
|
2020-06-09 04:54:37 +00:00
|
|
|
import Breadcrumb from 'ant-design-vue/breadcrumb';
|
2020-05-27 11:11:46 +00:00
|
|
|
import Button from 'ant-design-vue/button';
|
2020-06-08 07:24:40 +00:00
|
|
|
import Comment from 'ant-design-vue/comment';
|
2020-06-02 14:09:34 +00:00
|
|
|
import Drawer from 'ant-design-vue/drawer';
|
2020-06-03 10:36:18 +00:00
|
|
|
import Affix from 'ant-design-vue/affix';
|
2020-06-03 14:46:20 +00:00
|
|
|
import Alert from 'ant-design-vue/alert';
|
2020-06-06 06:51:12 +00:00
|
|
|
import Divider from 'ant-design-vue/divider';
|
2020-06-08 07:45:14 +00:00
|
|
|
import Anchor from 'ant-design-vue/anchor';
|
2020-06-13 14:32:10 +00:00
|
|
|
import Radio from 'ant-design-vue/radio';
|
2020-05-28 11:45:50 +00:00
|
|
|
import ConfigProvider from 'ant-design-vue/config-provider';
|
2020-06-08 06:53:35 +00:00
|
|
|
import Result from 'ant-design-vue/result';
|
|
|
|
import Spin from 'ant-design-vue/spin';
|
2020-06-08 14:00:59 +00:00
|
|
|
import PageHeader from 'ant-design-vue/page-header';
|
2020-06-08 09:31:13 +00:00
|
|
|
import Skeleton from 'ant-design-vue/skeleton';
|
2020-06-05 01:04:34 +00:00
|
|
|
import Empty from 'ant-design-vue/empty';
|
2020-06-08 07:02:43 +00:00
|
|
|
import Timeline from 'ant-design-vue/timeline';
|
2020-06-11 10:03:09 +00:00
|
|
|
import Col from 'ant-design-vue/col';
|
|
|
|
import Row from 'ant-design-vue/row';
|
2020-06-10 10:20:57 +00:00
|
|
|
import Tooltip from 'ant-design-vue/tooltip';
|
2020-06-11 15:07:48 +00:00
|
|
|
import Descriptions from 'ant-design-vue/descriptions';
|
2020-06-12 14:05:56 +00:00
|
|
|
import BackTop from 'ant-design-vue/back-top';
|
2020-06-12 04:54:21 +00:00
|
|
|
import Tag from 'ant-design-vue/tag';
|
2020-06-14 13:41:29 +00:00
|
|
|
import Popconfirm from 'ant-design-vue/popconfirm';
|
|
|
|
import Popover from 'ant-design-vue/popover';
|
|
|
|
import notification from 'ant-design-vue/notification';
|
|
|
|
import message from 'ant-design-vue/message';
|
2020-06-15 15:47:49 +00:00
|
|
|
import Modal from 'ant-design-vue/modal';
|
2020-06-16 14:55:02 +00:00
|
|
|
import Menu from 'ant-design-vue/menu';
|
2020-06-03 10:36:18 +00:00
|
|
|
import 'ant-design-vue/style.js';
|
2020-03-23 03:00:24 +00:00
|
|
|
|
2020-06-20 07:14:51 +00:00
|
|
|
const basic = {
|
|
|
|
render() {
|
|
|
|
return this.$slots.default && this.$slots.default();
|
|
|
|
},
|
|
|
|
};
|
2020-06-14 13:41:29 +00:00
|
|
|
const app = createApp(App);
|
|
|
|
app.config.globalProperties.$notification = notification;
|
|
|
|
app.config.globalProperties.$message = message;
|
|
|
|
app
|
2020-06-20 07:14:51 +00:00
|
|
|
.component('demo-sort', { ...basic })
|
|
|
|
.component('md', { ...basic })
|
|
|
|
.component('api', { ...basic })
|
|
|
|
.component('CN', { ...basic })
|
|
|
|
.component('US', { ...basic })
|
2020-06-08 07:38:07 +00:00
|
|
|
.use(Avatar)
|
2020-06-09 04:54:37 +00:00
|
|
|
.use(Breadcrumb)
|
2020-05-27 11:11:46 +00:00
|
|
|
.use(Button)
|
2020-06-08 07:24:40 +00:00
|
|
|
.use(Comment)
|
2020-05-28 11:45:50 +00:00
|
|
|
.use(ConfigProvider)
|
2020-06-02 14:09:34 +00:00
|
|
|
.use(Drawer)
|
2020-06-03 10:36:18 +00:00
|
|
|
.use(Affix)
|
2020-06-03 14:46:20 +00:00
|
|
|
.use(Alert)
|
2020-06-13 14:32:10 +00:00
|
|
|
.use(Radio)
|
2020-06-06 06:51:12 +00:00
|
|
|
.use(Divider)
|
2020-06-08 06:53:35 +00:00
|
|
|
.use(Result)
|
2020-06-08 14:00:59 +00:00
|
|
|
.use(PageHeader)
|
2020-06-08 07:45:14 +00:00
|
|
|
.use(Anchor)
|
2020-06-08 09:31:13 +00:00
|
|
|
.use(Skeleton)
|
2020-06-04 07:04:39 +00:00
|
|
|
.use(Spin)
|
2020-06-05 01:04:34 +00:00
|
|
|
.use(Empty)
|
2020-06-08 07:02:43 +00:00
|
|
|
.use(Timeline)
|
2020-06-11 10:03:09 +00:00
|
|
|
.use(Col)
|
|
|
|
.use(Row)
|
2020-06-10 10:20:57 +00:00
|
|
|
.use(Tooltip)
|
2020-06-11 15:07:48 +00:00
|
|
|
.use(Descriptions)
|
2020-06-12 14:05:56 +00:00
|
|
|
.use(BackTop)
|
2020-06-12 04:54:21 +00:00
|
|
|
.use(Tag)
|
2020-06-14 13:41:29 +00:00
|
|
|
.use(Popconfirm)
|
|
|
|
.use(Popover)
|
2020-06-15 15:47:49 +00:00
|
|
|
.use(Modal)
|
2020-06-16 14:55:02 +00:00
|
|
|
.use(Menu)
|
2020-05-27 11:11:46 +00:00
|
|
|
.mount('#app');
|