BundleConfig.cs 1.2 KB

123456789101112131415161718192021222324252627282930
  1. using System.Web;
  2. using System.Web.Optimization;
  3. namespace NEducation
  4. {
  5. public class BundleConfig
  6. {
  7. // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
  8. public static void RegisterBundles(BundleCollection bundles)
  9. {
  10. bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
  11. "~/Scripts/jquery-{version}.js"));
  12. bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
  13. "~/Scripts/jquery.validate*"));
  14. // Use the development version of Modernizr to develop with and learn from. Then, when you're
  15. // ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
  16. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
  17. "~/Scripts/modernizr-*"));
  18. bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
  19. "~/Scripts/bootstrap.js"));
  20. bundles.Add(new StyleBundle("~/Content/css").Include(
  21. "~/Content/bootstrap.css",
  22. "~/Content/site.css"));
  23. }
  24. }
  25. }