layui/src/module/formItem/index.ts

10 lines
268 B
TypeScript
Raw Normal View History

2021-10-04 07:44:31 +08:00
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