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

import type { App } from 'vue';

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

import './spin';

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