mirror of https://github.com/abpframework/abp.git
4 changed files with 47 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Packages.JQuery; |
||||
|
using Volo.Abp.Modularity; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.StarRatingSvg |
||||
|
{ |
||||
|
[DependsOn(typeof(JQueryScriptContributor))] |
||||
|
public class StarRatingSvgScriptContributor : BundleContributor |
||||
|
{ |
||||
|
public override void ConfigureBundle(BundleConfigurationContext context) |
||||
|
{ |
||||
|
context.Files.AddIfNotContains("/libs/star-rating-svg/js/jquery.star-rating-svg.min.js"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,13 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.StarRatingSvg |
||||
|
{ |
||||
|
public class StarRatingSvgStyleContributor : BundleContributor |
||||
|
{ |
||||
|
public override void ConfigureBundle(BundleConfigurationContext context) |
||||
|
{ |
||||
|
context.Files.AddIfNotContains("/libs/star-rating-svg/css/star-rating-svg.css"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,6 @@ |
|||||
|
module.exports = { |
||||
|
mappings: { |
||||
|
"@node_modules/star-rating-svg/dist/*.min.js": "@libs/star-rating-svg/js/", |
||||
|
"@node_modules/star-rating-svg/src/css/*.css": "@libs/star-rating-svg/css/", |
||||
|
}, |
||||
|
}; |
||||
@ -0,0 +1,12 @@ |
|||||
|
{ |
||||
|
"version": "3.1.0-rc.2", |
||||
|
"name": "@abp/star-rating-svg", |
||||
|
"publishConfig": { |
||||
|
"access": "public" |
||||
|
}, |
||||
|
"dependencies": { |
||||
|
"@abp/jquery": "~3.1.0-rc.2", |
||||
|
"star-rating-svg": "^3.5.0" |
||||
|
}, |
||||
|
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
|
} |
||||
Loading…
Reference in new issue