BundleConfig.cs 1.0 KB

123456789101112131415161718192021222324252627
  1. using System.Web;
  2. using System.Web.Optimization;
  3. namespace APICancelar
  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. // Use the development version of Modernizr to develop with and learn from. Then, when you're
  13. // ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
  14. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
  15. "~/Scripts/modernizr-*"));
  16. bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
  17. "~/Scripts/bootstrap.js"));
  18. bundles.Add(new StyleBundle("~/Content/css").Include(
  19. "~/Content/bootstrap.css",
  20. "~/Content/site.css"));
  21. }
  22. }
  23. }