# Abp.DynamicMenu

ABP version (opens new window) NuGet (opens new window) NuGet Download (opens new window) Discord online (opens new window) GitHub stars (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

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

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

  4. Add EF Core migrations and update your database. See: ABP document (opens new window).

# 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.
Last Updated: 11/20/2022, 12:33:54 PM