mirror of https://github.com/abpframework/abp
Merge pull request #16241 from abpframework/QRCodeScriptContributor
Add `QRCodeScriptContributor`.pull/16242/head
commit
6ed53f56d9
@ -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…
Reference in new issue