2021-09-24 19:11:56 +08:00
|
|
|
import { withInstall, withNoopInstall } from '@element-plus/utils/with-install'
|
|
|
|
|
2021-09-04 19:44:11 +08:00
|
|
|
import Menu from './src/menu'
|
2021-08-24 13:36:48 +08:00
|
|
|
import MenuItem from './src/menuItem.vue'
|
|
|
|
import MenuItemGroup from './src/menuItemGroup.vue'
|
|
|
|
import SubMenu from './src/submenu.vue'
|
|
|
|
|
2021-09-24 19:11:56 +08:00
|
|
|
export const ElMenu = withInstall(Menu, {
|
|
|
|
MenuItem,
|
|
|
|
MenuItemGroup,
|
|
|
|
SubMenu,
|
|
|
|
})
|
|
|
|
export default ElMenu
|
|
|
|
export const ElMenuItem = withNoopInstall(MenuItem)
|
|
|
|
export const ElMenuItemGroup = withNoopInstall(MenuItemGroup)
|
|
|
|
export const ElSubMenu = withNoopInstall(SubMenu)
|
2021-08-24 13:36:48 +08:00
|
|
|
|
2021-08-31 15:31:48 +08:00
|
|
|
export * from './src/menu.type'
|