Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Abp.DynamicMenu

ABP version NuGet NuGet Download GitHub stars

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

demo.gif

Online Demo

We have launched an online demo for this module: https://dynamicmenu.samples.easyabp.io

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