element-plus/packages/menu-item/index.ts

10 lines
185 B
TypeScript
Raw Normal View History

import { App } from 'vue'
import MenuItem from '../menu/src/menuItem.vue'
MenuItem.install = (app: App): void => {
app.component(MenuItem.name, MenuItem)
}
export default MenuItem