mirror of https://github.com/abpframework/abp.git
16 changed files with 136 additions and 34 deletions
@ -1,6 +1,6 @@ |
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.Bootstrap |
|||
{ |
|||
public class BootstrapStyleBundleContributor : BundleContributor |
|||
public class BootstrapStyleContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
@ -0,0 +1,14 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQuery; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.DatatablesNet |
|||
{ |
|||
[DependsOn(typeof(JQueryScriptContributor))] |
|||
public class DatatablesNetScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/datatables.net/js/jquery.dataTables.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.Bootstrap; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.DatatablesNet; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.DatatablesNetBs4 |
|||
{ |
|||
[DependsOn(typeof(DatatablesNetScriptContributor))] |
|||
[DependsOn(typeof(BootstrapScriptContributor))] |
|||
public class DatatablesNetBs4ScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/datatables.net-bs4/js/dataTables.bootstrap4.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -1,6 +1,6 @@ |
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQuery |
|||
{ |
|||
public class JQueryScriptBundleContributor : BundleContributor |
|||
public class JQueryScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
@ -0,0 +1,14 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQuery; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQueryForm |
|||
{ |
|||
[DependsOn(typeof(JQueryScriptContributor))] |
|||
public class JQueryFormScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/jquery-form/jquery.form.min.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,14 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQuery; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQueryValidation |
|||
{ |
|||
[DependsOn(typeof(JQueryScriptContributor))] |
|||
public class JQueryValidationScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/jquery-validation/jquery.validate.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,14 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQueryValidation; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQueryValidationUnobtrusive |
|||
{ |
|||
[DependsOn(typeof(JQueryValidationScriptContributor))] |
|||
public class JQueryValidationUnobtrusiveScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.SweetAlert |
|||
{ |
|||
public class SweetalertScriptContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/sweetalert/sweetalert.min.js"); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,14 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.JQuery; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Libraries.Toastr |
|||
{ |
|||
[DependsOn(typeof(JQueryScriptContributor))] |
|||
public class ToastrScriptBundleContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/libs/toastr/toastr.min.js"); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue