Menus provides the administration pages and reusable menu/sidebar components used to render and organize Enso navigation.
Install the package:
yarn add @enso-ui/menusThe package is usually consumed from the full enso-ui workspace inside an Enso application.
- 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
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';Common imports:
pages/menus/Index.vuepages/menus/Create.vuepages/menus/Edit.vue
Bulma and core variants are shipped for:
MenusMenuItemMenuOrganizerSidebarStateSidebar(core)
src/plugins/utils.jsexportshasActiveChildandorganize.src/bulma/register.jsregisters the menu helpers inside the host app.
system.menus.indexsystem.menus.createsystem.menus.edit
@enso-ui/directives↗@enso-ui/dropdown-indicator↗@enso-ui/forms↗@enso-ui/vue-switch↗@enso-ui/tables↗@enso-ui/transitions↗@enso-ui/ui↗
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!