Merge pull request #16241 from abpframework/QRCodeScriptContributor

Add `QRCodeScriptContributor`.
pull/16242/head
liangshiwei 3 years ago committed by GitHub
commit 6ed53f56d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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