layui/src/module/card/index.ts
2021-09-27 08:43:12 +08:00

9 lines
262 B
TypeScript

import type { App } from 'vue'
import Component from './index.vue'
import type { IDefineComponent } from '../type/index'
Component.install = (app: App) => {
app.component(Component.name || 'LayCard ', Component)
}
export default Component as IDefineComponent