@enso-ui/menus
Menus
Description
Menus provides the administration pages and reusable menu/sidebar components used to render and organize Enso navigation.
Installation
Install the package:
yarn add @enso-ui/menus
The package is usually consumed from the full enso-ui workspace inside an Enso application.
Features
- registers the
/system/menusindex, create, and edit routes - exports menu and sidebar components in both Bulma and core variants
- ships organizer utilities and the
register.jshook used to wire menu state into the app shell - pairs backend-driven menu records with sidebar rendering and drag-and-drop organization
Usage
import systemRoutes from '@enso-ui/menus/src/bulma/routes/system.js';
import Menus from '@enso-ui/menus/src/bulma/components/menu/Menus.vue';
import registerMenus from '@enso-ui/menus/src/bulma/register.js';
API
Page modules
Common imports:
pages/menus/Index.vuepages/menus/Create.vuepages/menus/Edit.vue
Menu components
Bulma and core variants are shipped for:
MenusMenuItemMenuOrganizerSidebarStateSidebar(core)
Utilities
src/plugins/utils.jsexportshasActiveChildandorganize.src/bulma/register.jsregisters the menu helpers inside the host app.
Routes
/system/menus
system.menus.indexsystem.menus.createsystem.menus.edit
Companion Backend Package
Depends On
@enso-ui/directives↗@enso-ui/dropdown-indicator↗@enso-ui/forms↗@enso-ui/vue-switch↗@enso-ui/tables↗@enso-ui/transitions↗@enso-ui/ui↗
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!
License
Related Packages
druxt-menu
Drupal Menu and Menu item Druxt components, with support for the JSON:API Menu I...
13,564
115
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 5.2.28 | ^3.5.0 | MIT | |
| 5.2.27 | ^3.5.0 | MIT | |
| 5.2.26 | ^3.5.0 | MIT | |
| 5.2.24 | ^3.5.0 | MIT | |
| 5.2.22 | ^3.5.0 | MIT | |
| 5.2.21 | ^3.5.0 | MIT | |
| 5.2.20 | ^3.5.0 | MIT | |
| 5.2.19 | ^3.5.0 | MIT | |
| 5.2.18 | ^3.5.0 | MIT | |
| 5.2.17 | ^3.5.0 | MIT | |
| 5.2.16 | ^3.5.0 | MIT | |
| 5.2.15 | ^3.5.0 | MIT | |
| 5.2.14 | ^3.5.0 | MIT | |
| 5.2.13 | ^3.5.0 | MIT | |
| 5.2.12 | ^3.5.0 | MIT | |
| 5.2.11 | ^3.5.0 | MIT | |
| 5.2.9 | ^3.5.0 | MIT | |
| 5.2.8 | ^3.5.0 | MIT | |
| 5.2.7 | ^3.5.0 | MIT | |
| 5.2.6 | ^3.5.0 | MIT | |
| 5.2.5 | ^3.5.0 | MIT | |
| 5.2.4 | ^3.0 | MIT | |
| 5.2.3 | ^3.0 | MIT | |
| 5.2.2 | ^3.0 | MIT | |
| 5.2.1 | ^3.0 | MIT | |
| 5.2.0 | ^3.0 | MIT | |
| 5.1.0 | ^3.0 | MIT | |
| 5.0.2 | ^3.0 | ISC | |
| 5.0.1 | ^3.0 | ISC | |
| 5.0.0 | ^3.0 | ISC |
Showing the latest 30 of 71. See every release on npm