element/packages/menu/_index.js

18 lines
568 B
JavaScript
Raw Normal View History

2016-10-13 17:51:14 +08:00
const ElMenu = require('./src/menu');
const ElMenuItem = require('./src/menu-item');
const ElMenuItemGroup = require('./src/menu-item-group');
const ElSubmenu = require('./src/submenu');
2016-10-19 22:48:35 +08:00
/* istanbul ignore next */
2016-10-13 17:51:14 +08:00
module.exports = function(Vue) {
Vue.component(ElMenuItem.name, ElMenuItem);
Vue.component(ElMenuItemGroup.name, ElMenuItemGroup);
Vue.component(ElMenu.name, ElMenu);
Vue.component(ElSubmenu.name, ElSubmenu);
};
exports.ElMenuItemGroup = ElMenuItemGroup;
exports.ElMenuItem = ElMenuItem;
exports.ElMenu = ElMenu;
exports.ElSubmenu = ElSubmenu;