2020-09-28 20:19:10 +08:00
|
|
|
// Load on demand
|
2020-11-18 22:41:59 +08:00
|
|
|
// This module only introduces components globally before login
|
2020-09-28 20:19:10 +08:00
|
|
|
import type { App } from 'vue';
|
|
|
|
|
|
2020-11-12 23:30:13 +08:00
|
|
|
import {
|
|
|
|
|
// need
|
|
|
|
|
Form,
|
|
|
|
|
Input,
|
|
|
|
|
Row,
|
|
|
|
|
Col,
|
|
|
|
|
Spin,
|
|
|
|
|
} from 'ant-design-vue';
|
2020-11-02 23:04:25 +08:00
|
|
|
import 'ant-design-vue/dist/antd.css';
|
2020-09-28 20:19:10 +08:00
|
|
|
|
|
|
|
|
export function setupAntd(app: App<Element>) {
|
2020-11-12 23:30:13 +08:00
|
|
|
// need
|
2020-11-01 23:44:23 +08:00
|
|
|
// Here are the components required before registering and logging in
|
2020-11-12 23:30:13 +08:00
|
|
|
app.use(Form).use(Input).use(Row).use(Col).use(Spin);
|
2020-09-28 20:19:10 +08:00
|
|
|
}
|