从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
// Load on demand import type { App } from 'vue';
import { Form, Input, Row, Col } from 'ant-design-vue';
import 'ant-design-vue/dist/antd.less';
import './spin'; export function setupAntd(app: App<Element>) {
// 这两个组件在登录也就用。全局注册
app.use(Form); app.use(Input);
app.use(Row); app.use(Col);
}