Skip to content

An abp module that dynamically creates menu items for ABP UI projects in runtime.

License

Notifications You must be signed in to change notification settings

EasyAbp/Abp.DynamicMenu

Repository files navigation

Abp.DynamicMenu

ABP version NuGet NuGet Download Discord online GitHub stars

An abp module that dynamically creates menu items for ABP UI projects in runtime.

demo.gif

Installation

  1. Install the following NuGet packages. (see how)

    • 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
  2. Add DependsOn(typeof(AbpDynamicMenuXxxModule)) attribute to configure the module dependencies. (see how)

  3. Add builder.ConfigureAbpDynamicMenu(); to the OnModelCreating() method in MyProjectMigrationsDbContext.cs.

  4. Add EF Core migrations and update your database. See: ABP document.

Usage

  1. Create a dynamic menu item on the management page.

  2. Refresh the page and you can see the menu item you just created.

Road map

  • More customizable options for menu items.

About

An abp module that dynamically creates menu items for ABP UI projects in runtime.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages