增加首屏打开速度

This commit is contained in:
muwoo
2022-01-05 19:41:14 +08:00
parent 19cd77b26c
commit 58aabb9f1e
6 changed files with 64 additions and 20 deletions

View File

@@ -1,6 +1,11 @@
import { createApp } from "vue";
import Antd from "ant-design-vue";
import { Button, List, Spin, Input, Avatar } from "ant-design-vue";
import App from "./App.vue";
import "ant-design-vue/dist/antd.css";
createApp(App).use(Antd).mount("#app");
createApp(App)
.use(Button)
.use(List)
.use(Spin)
.use(Input)
.use(Avatar)
.mount("#app");