layui/src/module/button/index.ts

10 lines
264 B
TypeScript
Raw Normal View History

2021-09-26 22:09:33 +00:00
import type { App } from 'vue'
import Component from './index.vue'
2021-09-26 22:35:26 +00:00
import type { IDefineComponent } from '../type/index'
2021-09-26 22:09:33 +00:00
Component.install = (app: App) => {
2021-09-29 09:22:33 +00:00
app.component(Component.name || 'LayButton', Component)
2021-09-26 22:09:33 +00:00
}
2021-12-10 01:41:25 +00:00
export default Component as IDefineComponent