Step1:BundleConfig中注册
bundles.Add(new ScriptBundle("~/isValid").Include(
"~/Scripts/jquery-1.8.2.min.js",
"~/Scripts/jquery.validate.min.js",
"~/Scripts/jquery.validate.unobtrusive.min.js"));
Step2:BundleConfig开启合并
BundleTable.EnableOptimizations = true;
Step3:前台视图中直接利用Scripts进行导入
@Scripts.Render("~/isValid")