Blame view

src/setup/ant-design-vue/index.ts 380 Bytes
陈文彬 authored
1
2
3
4
// Load on demand

import type { App } from 'vue';
5
6
7
8
9
10
11
12
import {
  // need
  Form,
  Input,
  Row,
  Col,
  Spin,
} from 'ant-design-vue';
13
import 'ant-design-vue/dist/antd.css';
陈文彬 authored
14
15
16
17

import './spin';

export function setupAntd(app: App<Element>) {
18
  // need
vben authored
19
  // Here are the components required before registering and logging in
20
  app.use(Form).use(Input).use(Row).use(Col).use(Spin);
陈文彬 authored
21
}