# Abp.DynamicMenu
(opens new window)
(opens new window)
(opens new window)
(opens new window)
(opens new window)
An abp module that dynamically creates menu items for ABP UI projects in runtime.
# Online Demo
We have launched an online demo for this module: https://dynamicmenu.samples.easyabp.io (opens new window)
# Installation
Install the following NuGet packages. (see how (opens new window))
- EasyAbp.Abp.DynamicMenu.Application
- EasyAbp.Abp.DynamicMenu.Application.Contracts
- EasyAbp.Abp.DynamicMenu.Domain
- EasyAbp.Abp.DynamicMenu.Domain.Shared
- EasyAbp.Abp.DynamicMenu.EntityFrameworkCore
- EasyAbp.Abp.DynamicMenu.HttpApi
- EasyAbp.Abp.DynamicMenu.HttpApi.Client
- EasyAbp.Abp.DynamicMenu.Web
Add
DependsOn(typeof(AbpDynamicMenuXxxModule))
attribute to configure the module dependencies. (see how (opens new window))Add
builder.ConfigureAbpDynamicMenu();
to theOnModelCreating()
method in MyProjectMigrationsDbContext.cs.Add EF Core migrations and update your database. See: ABP document (opens new window).
# Usage
Create a dynamic menu item on the management page.
Refresh the page and you can see the menu item you just created.
# Road map
- [ ] More customizable options for menu items.