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.
36 lines
1.2 KiB
36 lines
1.2 KiB
using Volo.Abp.AspNetCore.Components.Server.Theming.Bundling;
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming;
|
|
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
|
|
using Volo.Abp.AspNetCore.Mvc.UI.Packages;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.Server.Theming;
|
|
|
|
[DependsOn(
|
|
typeof(AbpAspNetCoreComponentsServerModule),
|
|
typeof(AbpAspNetCoreMvcUiPackagesModule),
|
|
typeof(AbpAspNetCoreComponentsWebThemingModule),
|
|
typeof(AbpAspNetCoreMvcUiBundlingModule)
|
|
)]
|
|
public class AbpAspNetCoreComponentsServerThemingModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpBundlingOptions>(options =>
|
|
{
|
|
options
|
|
.StyleBundles
|
|
.Add(BlazorStandardBundles.Styles.Global, bundle =>
|
|
{
|
|
bundle.AddContributors(typeof(BlazorGlobalStyleContributor));
|
|
});
|
|
|
|
options
|
|
.ScriptBundles
|
|
.Add(BlazorStandardBundles.Scripts.Global, bundle =>
|
|
{
|
|
bundle.AddContributors(typeof(BlazorGlobalScriptContributor));
|
|
});
|
|
});
|
|
}
|
|
}
|
|
|