20 lines
425 B
TypeScript
20 lines
425 B
TypeScript
// Load on demand
|
|
// This module only introduces components globally before login
|
|
import type { App } from 'vue';
|
|
|
|
import {
|
|
// need
|
|
Form,
|
|
Input,
|
|
Row,
|
|
Col,
|
|
Spin,
|
|
} from 'ant-design-vue';
|
|
import 'ant-design-vue/dist/antd.css';
|
|
|
|
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).use(Spin);
|
|
}
|