mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
using Volo.Abp.AspNetCore.Components.Web.BasicTheme;
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming.Routing;
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming.Toolbars;
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly.Theming;
|
|
using Volo.Abp.Http.Client.IdentityModel.WebAssembly;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpAspNetCoreComponentsWebBasicThemeModule),
|
|
typeof(AbpAspNetCoreComponentsWebAssemblyThemingModule),
|
|
typeof(AbpHttpClientIdentityModelWebAssemblyModule)
|
|
)]
|
|
public class AbpAspNetCoreComponentsWebAssemblyBasicThemeModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpRouterOptions>(options =>
|
|
{
|
|
options.AdditionalAssemblies.Add(typeof(AbpAspNetCoreComponentsWebAssemblyBasicThemeModule).Assembly);
|
|
});
|
|
|
|
Configure<AbpToolbarOptions>(options =>
|
|
{
|
|
options.Contributors.Add(new BasicThemeToolbarContributor());
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|