mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 05:39:34 +08:00
perf: optimize the size of the first screen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user