element-plus/packages/menu/index.ts
2020-11-12 16:17:21 +08:00

12 lines
397 B
TypeScript

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