ant-design-vue/examples/index.js

30 lines
827 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-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-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';
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)
.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-04 07:04:39 +00:00
.use(Spin)
.use(Empty)
.use(Timeline)
2020-05-27 11:11:46 +00:00
.mount('#app');