mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
12 lines
397 B
TypeScript
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)
|
|
}
|