日期:2014-05-16 浏览次数:20515 次
bundles.Add(new ScriptBundle("~/Script/jq").Include("~/Scripts/jquery-1.7.1.min.js", "~/Scripts/EasyUI/jquery.easyui.min.js"));
bundles.Add(new StyleBundle("~/Content").Include("~/Content/themes/default/easyui.css", "~/Content/themes/icon.css"));
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<title>主页 - 我的 ASP.NET MVC 应用程序</title>
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
<link href="/Content/themes/default/easyui.css" rel="stylesheet"/>
<link href="/Content/themes/icon.css" rel="stylesheet"/>
<!--为什么这里的JS文件引用没看到,ScriptBundle没有成功?-->
</head>