mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-25 05:25:04 +00:00
19 lines
386 B
TypeScript
19 lines
386 B
TypeScript
import type { App } from 'vue';
|
|
// import { Icon } from './Icon';
|
|
import { Button } from './Button';
|
|
import {
|
|
// Need
|
|
Button as AntButton,
|
|
Input,
|
|
} from 'ant-design-vue';
|
|
|
|
const compList = [AntButton.Group];
|
|
|
|
export function registerGlobComp(app: App) {
|
|
compList.forEach((comp) => {
|
|
app.component(comp.name || comp.displayName, comp);
|
|
});
|
|
|
|
app.use(Input).use(Button);
|
|
}
|