RMS.Manage.Web/App_Start/BundleConfig.cs
(完整代码) 2KBusing System.Web;
using System.Web.Optimization;
namespace RMS.Manage.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.validate*",
"~/Scripts/jquery.form.js"));
// Use the development version of Modernizr to develop with and learn from. Then, when you're
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
//"~/Scripts/bootstrap.js",
"~/bower_components/bootstrap/dist/js/bootstrap.min.js",
//"~/bower_components/bootstraptable/dist/bootstrap-table.js",
//"~/bower_components/bootstraptable/dist/locale/bootstrap-table-zh-CN.js",
"~/Scripts/respond.js"));
bundles.Add(new StyleBundle("~/Content/css").Include(
//"~/Content/bootstrap.css",
//"~/Content/site.css",
"~/bower_components/bootstrap/dist/css/bootstrap.min.css",
//"~/bower_components/bootstraptable/dist/bootstrap-table.css",
"~/bower_components/metisMenu/dist/metisMenu.min.css",
"~/Content/timeline.css",
"~/Content/sb-admin-2.css"));
//fileinput相关js
bundles.Add(new ScriptBundle("~/bundles/fileinput").Include(
"~/bower_components/bootstrap-fileinput-master/js/plugins/canvas-to-blob.min.js",
"~/bower_components/bootstrap-fileinput-master/js/plugins/sortable.min.js",
"~/bower_components/bootstrap-fileinput-master/js/plugins/purify.min.js",
"~/bower_components/bootstrap-fileinput-master/js/fileinput.min.js",
"~/bower_components/bootstrap-fileinput-master/themes/fa/theme.js",
"~/bower_components/bootstrap-fileinput-master/js/locales/zh.js",
"~/Scripts/Common/fileInput.js"));
//自定义扩展js
bundles.Add(new ScriptBundle("~/bundles/common").Include(
"~/Scripts/Toastr/toastr.min.js",
"~/Scripts/Common/common.js",
"~/Scripts/Common/datatables_extend.js",
"~/Scripts/WinMsg.js",
"~/Scripts/ModalForm.js"));
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。