@ -16,7 +16,8 @@ namespace MyCompanyName.MyProjectName.Blazor.Menus
private Task ConfigureMainMenuAsync(MenuConfigurationContext context)
{
//Add main menu items.
context.Menu.AddItem(new ApplicationMenuItem(MyProjectNameMenus.Prefix, displayName: "MyProjectName", "~/MyProjectName", icon: "fa fa-globe"));
return Task.CompletedTask;
}
@ -2,7 +2,7 @@
public class MyProjectNameMenus
private const string Prefix = "MyProjectName";
public const string Prefix = "MyProjectName";
//Add your menu items here...
//public const string Home = Prefix + ".MyNewMenuItem";
@ -16,6 +16,7 @@ namespace MyCompanyName.MyProjectName.Web.Menus