2020-11-12 14:43:55 +08:00
|
|
|
import { App } from 'vue'
|
|
|
|
import Menu from './src/menu.vue'
|
2020-11-12 16:17:21 +08:00
|
|
|
import Submenu from './src/submenu.vue'
|
|
|
|
import MenuItem from './src/menuItem.vue'
|
|
|
|
import MenuItemGroup from './src/menuItemGroup.vue'
|
2020-11-12 14:43:55 +08:00
|
|
|
export default (app: App): void => {
|
|
|
|
app.component(Menu.name, Menu)
|
2020-11-12 16:17:21 +08:00
|
|
|
app.component(Submenu.name, Submenu)
|
|
|
|
app.component(MenuItem.name, MenuItem)
|
|
|
|
app.component(MenuItemGroup.name, MenuItemGroup)
|
2020-11-12 14:43:55 +08:00
|
|
|
}
|
2020-11-13 10:39:03 +08:00
|
|
|
|
|
|
|
export { Menu, Submenu, MenuItem, MenuItemGroup }
|