index.ts 337 字节
Newer Older
陈文彬 已提交
1 2 3 4
// Load on demand

import type { App } from 'vue';

5
import { Form, Input, Row, Col } from 'ant-design-vue';
V
vben 已提交
6
import 'ant-design-vue/dist/antd.less';
陈文彬 已提交
7 8 9 10

import './spin';

export function setupAntd(app: App<Element>) {
V
vben 已提交
11
  // 这两个组件在登录也就用。全局注册
陈文彬 已提交
12 13
  app.use(Form);
  app.use(Input);
14 15
  app.use(Row);
  app.use(Col);
陈文彬 已提交
16
}