fix: update mune folder structure

This commit is contained in:
zazzaz 2020-11-12 16:17:21 +08:00
parent da81648df7
commit df9adc330d
11 changed files with 7 additions and 69 deletions

View File

@ -59,9 +59,6 @@ import ElPopover from '@element-plus/popover'
import ElCascader from '@element-plus/cascader'
import ElCascaderPanel from '@element-plus/cascader-panel'
import ElMenu from '@element-plus/menu'
import ElMenuItem from '@element-plus/menu-item'
import ElMenuItemGroup from '@element-plus/menu-item-group'
import ElSubmenu from '@element-plus/submenu'
import ElCollapseTransition from '@element-plus/transition'
import { use } from '@element-plus/locale'
@ -123,9 +120,6 @@ export {
ElCascader,
ElCascaderPanel,
ElMenu,
ElSubmenu,
ElMenuItem,
ElMenuItemGroup,
ElCollapseTransition,
}
@ -198,9 +192,6 @@ const install = (app: App, opt: InstallOptions = defaultInstallOpt): void => {
ElCascader(app)
ElCascaderPanel(app)
ElMenu(app)
ElSubmenu(app)
ElMenuItem(app)
ElMenuItemGroup(app)
ElCollapseTransition(app)
app.config.globalProperties.$ELEMENT = opt

View File

@ -46,9 +46,6 @@
"@element-plus/form": "^0.0.0",
"@element-plus/tree": "^0.0.0",
"@element-plus/select": "^0.0.0",
"@element-plus/menu": "^0.0.0",
"@element-plus/submenu": "^0.0.0",
"@element-plus/menu-item": "^0.0.0",
"@element-plus/menu-item-group": "^0.0.0"
"@element-plus/menu": "^0.0.0"
}
}

View File

@ -1,5 +0,0 @@
import ElMenuItemGroup from '../index'
export default {
title: 'MenuItem-group',
}

View File

@ -1,5 +0,0 @@
import { App } from 'vue'
import MenuItemGroup from '../menu/src/menuGroup.vue'
export default (app: App): void => {
app.component(MenuItemGroup.name, MenuItemGroup)
}

View File

@ -1,12 +0,0 @@
{
"name": "@element-plus/menu-item-group",
"version": "0.0.0",
"main": "dist/index.js",
"license": "MIT",
"peerDependencies": {
"vue": "^3.0.0-rc.9"
},
"devDependencies": {
"@vue/test-utils": "^2.0.0-beta.3"
}
}

View File

@ -1,5 +0,0 @@
import { App } from 'vue'
import MenuItem from '../menu/src/menuItem.vue'
export default (app: App): void => {
app.component(MenuItem.name, MenuItem)
}

View File

@ -1,12 +0,0 @@
{
"name": "@element-plus/menu-item",
"version": "0.0.0",
"main": "dist/index.js",
"license": "MIT",
"peerDependencies": {
"vue": "^3.0.0-rc.9"
},
"devDependencies": {
"@vue/test-utils": "^2.0.0-beta.3"
}
}

View File

@ -1,5 +1,11 @@
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)
}

View File

@ -1,5 +0,0 @@
import { App } from 'vue'
import Submenu from '../menu/src/submenu.vue'
export default (app: App): void => {
app.component(Submenu.name, Submenu)
}

View File

@ -1,12 +0,0 @@
{
"name": "@element-plus/submenu",
"version": "0.0.0",
"main": "dist/index.js",
"license": "MIT",
"peerDependencies": {
"vue": "^3.0.0"
},
"devDependencies": {
"@vue/test-utils": "^2.0.0-beta.3"
}
}