Pure Theme is a theme for ASP.NET Core MVC / Razor Pages UI.
If your project initially installed the
Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic
NuGet package, please remove it first.
To install the Pure Theme in your web project, follow these steps:
-
Install the
Dignite.Abp.AspNetCore.Mvc.UI.Theme.Pure
NuGet package. -
Add
DigniteAbpAspNetCoreMvcUiPureThemeModule
to the[DependsOn(...)]
attribute list in your module class. -
Configure the default theme in the
ConfigureServices
method:Configure<AbpThemingOptions>(options => { options.DefaultThemeName = PureTheme.Name; });
-
Install the @abp/aspnetcore.mvc.ui.theme.basic NPM package in your web project (e.g.,
npm install @abp/aspnetcore.mvc.ui.theme.basic
oryarn add @abp/aspnetcore.mvc.ui.theme.basic
). -
Run abp install-libs.
The Pure Theme includes a Public Layout:
For examples, please visit GitHub, download the sample, and follow the instructions to run and experience it.