layui/src/module/menu/index.ts

10 lines
262 B
TypeScript
Raw Normal View History

2021-09-29 23:42:53 +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 || 'LayMenu', Component)
2021-09-29 23:42:53 +08:00
}
export default Component as IDefineComponent