ant-design-vue/examples/index.js

36 lines
1010 B
JavaScript
Raw Normal View History

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-05-27 11:11:46 +00:00
import Button from 'ant-design-vue/button';
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';
import Divider from 'ant-design-vue/divider';
2020-06-08 07:45:14 +00:00
import Anchor from 'ant-design-vue/anchor';
2020-05-28 11:45:50 +00:00
import ConfigProvider from 'ant-design-vue/config-provider';
import Result from 'ant-design-vue/result';
import Spin from 'ant-design-vue/spin';
2020-06-08 09:31:13 +00:00
import Skeleton from 'ant-design-vue/skeleton';
import Empty from 'ant-design-vue/empty';
import Timeline from 'ant-design-vue/timeline';
2020-06-03 10:36:18 +00:00
import 'ant-design-vue/style.js';
2020-03-23 03:00:24 +00:00
2020-05-27 11:11:46 +00:00
createApp(App)
2020-06-08 07:38:07 +00:00
.use(Avatar)
2020-05-27 11:11:46 +00:00
.use(Button)
.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)
.use(Divider)
.use(Result)
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)
.use(Empty)
.use(Timeline)
2020-05-27 11:11:46 +00:00
.mount('#app');