Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

enisn/Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material

Material Design theme for ABP Framework.

Showcase

You can visit the Live Demo.

preview-landing

identity-roles

preview-cmskit-blogposts

public

Installation

dotnet add package Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material
  • Replace Basic Theme with Material Theme.
[DependsOn(
        typeof(SandboxHttpApiModule),
        typeof(SandboxApplicationModule),
        typeof(SandboxMongoDbModule),
        typeof(AbpAutofacModule),
        typeof(AbpIdentityWebModule),
        typeof(AbpSettingManagementWebModule),
        typeof(AbpAccountWebIdentityServerModule),
-       typeof(AbpAspNetCoreMvcUiBasicThemeModule),
+       typeof(AbpAspNetCoreMvcUiMaterialThemeModule),
        typeof(AbpAspNetCoreAuthenticationJwtBearerModule),
        typeof(AbpTenantManagementWebModule),
        typeof(AbpAspNetCoreSerilogModule),
        typeof(AbpSwashbuckleModule)
        )]
    public class SandboxWebModule : AbpModule
    {
        // ...

Configuration

Using Public Layout

  • You can force to use Public layout for entire application via adding Pages/_ViewStart.cshtml

  • If you want to use Public layout only CmsKit pages, you must place it to Pages/Public/_ViewStart.cshtml

@using Volo.Abp.AspNetCore.Mvc.UI.Theming
@inject IThemeManager ThemeManager
@{
    Layout = ThemeManager.CurrentTheme.GetPublicLayout();
}

Credits

About

A simple material theme for ABP Framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages