纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.0 KiB

  1. using System.Web;
  2. using System.Web.Optimization;
  3. namespace ICSSoft.WebAPI
  4. {
  5. public class BundleConfig
  6. {
  7. // 有关捆绑的详细信息,请访问 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. // 使用要用于开发和学习的 Modernizr 的开发版本。然后,当你做好
  13. // 生产准备就绪,请使用 https://modernizr.com 上的生成工具仅选择所需的测试。
  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. }