perf: optimize the size of the first screen

This commit is contained in:
vben
2020-10-20 21:06:12 +08:00
parent c2333f5d04
commit 968f791f4b
11 changed files with 43 additions and 26 deletions

View File

@@ -2,13 +2,13 @@
import type { App } from 'vue';
import { Form, Input, Button } from 'ant-design-vue';
import { Form, Input } from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import './spin';
export function setupAntd(app: App<Element>) {
app.component(Button.Group.name, Button.Group);
// 这两个组件在登录也就用。全局注册
app.use(Form);
app.use(Input);
}