Browse Source

Merge pull request #16241 from abpframework/QRCodeScriptContributor

Add `QRCodeScriptContributor`.
pull/16242/head
liangshiwei 3 years ago
committed by GitHub
parent
commit
6ed53f56d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/QRCode/QRCodeScriptContributor.cs

12
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/QRCode/QRCodeScriptContributor.cs

@ -0,0 +1,12 @@
using System.Collections.Generic;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.QRCode;
public class QRCodeScriptContributor : BundleContributor
{
public override void ConfigureBundle(BundleConfigurationContext context)
{
context.Files.AddIfNotContains("/libs/qrcode/qrcode.min.js");
}
}
Loading…
Cancel
Save