mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 05:39:34 +08:00
chore: global registration of some components
This commit is contained in:
@@ -2,12 +2,20 @@
|
||||
|
||||
import type { App } from 'vue';
|
||||
|
||||
import { Form, Input, Row, Col } from 'ant-design-vue';
|
||||
import {
|
||||
// need
|
||||
Form,
|
||||
Input,
|
||||
Row,
|
||||
Col,
|
||||
Spin,
|
||||
} from 'ant-design-vue';
|
||||
import 'ant-design-vue/dist/antd.css';
|
||||
|
||||
import './spin';
|
||||
|
||||
export function setupAntd(app: App<Element>) {
|
||||
// need
|
||||
// Here are the components required before registering and logging in
|
||||
app.use(Form).use(Input).use(Row).use(Col);
|
||||
app.use(Form).use(Input).use(Row).use(Col).use(Spin);
|
||||
}
|
||||
|
Reference in New Issue
Block a user