Himall.Web/App_Start/BundleConfig.cs

(完整代码) 929B

using System;
using System.Web.Optimization;

namespace Himall.Web
{
	public class BundleConfig
	{
		public BundleConfig()
		{
		}

		public static void RegisterBundles(BundleCollection bundles)
		{
			bundles.Add((new ScriptBundle("~/bundles/jquery")).Include("~/Scripts/jquery-{version}.js", new IItemTransform[0]));
			bundles.Add((new ScriptBundle("~/bundles/jqueryval")).Include("~/Scripts/jquery.validate*", new IItemTransform[0]));
			ScriptBundle scriptBundle = new ScriptBundle("~/bundles/bootstrap");
			string[] strArrays = new string[] { "~/Scripts/bootstrap.js", "~/Scripts/respond.js" };
			bundles.Add(scriptBundle.Include(strArrays));
			StyleBundle styleBundle = new StyleBundle("~/Content/css");
			string[] strArrays1 = new string[] { "~/Content/bootstrap.css", "~/Content/site.css" };
			bundles.Add(styleBundle.Include(strArrays1));
			BundleTable.EnableOptimizations = true;
		}
	}
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。