-
Notifications
You must be signed in to change notification settings - Fork 17
Installation & Setup
Jose Luis Chavez del Cid edited this page Feb 29, 2020
·
1 revision
You can add this template to your ASP.NET Core Web App, by adding the WebPx.AdminLTE.AspNetCore nuget package.
Install-Package WebPx.AdminLTE.AspNetCore
dotnet add package WebPx.AdminLTE.AspNetCore
Add to your Startup class:
services.AddAdminLTE();
Customize how the template works:
services.AddAdminLTE((o) => {
o.SiteName = "Demo Site"; // Site Name
o.SiteLogo = "/logo.png"; // Site Logo Path
o.SearchPath = "/Search"; // Url to the Search Result's page
o.Location = "AdminLITE3"; // Folder Name for the template (For future use)
o.Aside = true; // Show/Hide Aside Menu
o.Breadcrumbs = true; // Show/Hide Breadcrumbs
o.Message = true; // Show/Hide Messages Drop Down;
o.NavBarLinks = true; // Show/Hide Top Nav Bar Links
o.Footer = true; // Show/Hide Footer
o.SideBarCollapsed = true; // Show/Hide Side Bar Collapsed
o.Search = true; // Show/Hide Search Field
o.UserPanel = true; // Show/Hide User Panel
});