layui/src/module/button/index.ts

9 lines
263 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
}
export default Component as IDefineComponent