mvc布局(一)
negut添加Optimization
@System.Web.Optimization.Styles.Render( "~/Content/styles/css/font-awesome.min.css", "~/Content/js/jquery/jquery-ui/jquery-ui.min.css") @System.Web.Optimization.Scripts.Render( "~/Content/js/jquery/jQuery-2.2.0.min.js", "~/Content/js/jquery/jquery-ui/jquery-ui.min.js") <body> @RenderBody() @*@Html.AntiForgeryToken()*@ </body //其他界面直接 @{ ViewBag.Title = "MVC权限框架"; Layout = "/Views/Shared/_LoadJsAndCss.cshtml"; }