1
0
mirror of https://github.com/chyzy/RSystem-MVC synced 2025-02-16 18:25:51 +01:00
RSystem-MVC-Fork/RSystem/App_Start/BundleConfig.cs
2018-04-17 11:20:49 +02:00

34 lines
1.3 KiB
C#

using System.Web;
using System.Web.Optimization;
namespace RSystem
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js",
"~/Scripts/scale.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.validate*"));
// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/bootbox.js",
"~/Scripts/respond.js"));
bundles.Add(new StyleBundle("~/Content/cssboundle").Include(
"~/Content/bootstrap.css",
"~/Content/Site.css"));
}
}
}