mirror of https://github.com/abpframework/abp.git
8 changed files with 9 additions and 34 deletions
@ -1,12 +0,0 @@ |
|||||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|
||||
|
|
||||
namespace DashboardDemo.Web.Bundles |
|
||||
{ |
|
||||
public class ChartjsScriptContributor : BundleContributor |
|
||||
{ |
|
||||
public override void ConfigureBundle(BundleConfigurationContext context) |
|
||||
{ |
|
||||
context.Files.Add("/libs/chart.js/Chart.js"); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,12 +0,0 @@ |
|||||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|
||||
|
|
||||
namespace DashboardDemo.Web.Bundles |
|
||||
{ |
|
||||
public class ChartjsStyleContributor : BundleContributor |
|
||||
{ |
|
||||
public override void ConfigureBundle(BundleConfigurationContext context) |
|
||||
{ |
|
||||
context.Files.Add("/libs/chart.js/Chart.css"); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
@ -1,5 +1,4 @@ |
|||||
module.exports = { |
module.exports = { |
||||
mappings: { |
mappings: { |
||||
"@node_modules/chart.js/dist/*.*": "@libs/chart.js/" |
|
||||
} |
} |
||||
}; |
}; |
||||
Loading…
Reference in new issue