layui/src/module/formItem/index.ts
2021-10-04 07:44:31 +08:00

10 lines
268 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 || 'LayFormItem', Component)
}
export default Component as IDefineComponent