layui/src/module/colorPicker/index.ts
2021-10-22 17:50:59 +08:00

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