layui/src/module/input/index.ts

10 lines
263 B
TypeScript
Raw Normal View History

2021-09-27 08:42:13 +00: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 || 'LayInput', Component)
}
export default Component as IDefineComponent