using Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.Bundling; using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme; using Volo.Abp.AspNetCore.Components.Server; using Volo.Abp.AspNetCore.Mvc.UI.Bundling; using Volo.Abp.AspNetCore.Mvc.UI.Packages; using Volo.Abp.Modularity; namespace Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme; [DependsOn( typeof(AbpAspNetCoreComponentsServerModule), typeof(AbpAspNetCoreMvcUiPackagesModule), typeof(AbpAspNetCoreMvcUiBundlingModule), typeof(AbpAspNetCoreComponentsWebAntDesignThemeModule) )] public class AbpAspNetCoreComponentsServerAntDesignThemeModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure(options => { options .StyleBundles .Add(BlazorStandardBundles.Styles.Global, bundle => { bundle.AddContributors(typeof(BlazorGlobalStyleContributor)); }); options .ScriptBundles .Add(BlazorStandardBundles.Scripts.Global, bundle => { bundle.AddContributors(typeof(BlazorGlobalScriptContributor)); }); }); } }