Tag: bundling and minification

ASP.NET MVC4与Twitter Bootstrap捆绑

我试图在Twitter引导中使用MVC 4中的新捆绑function,在我看来像通向graphics文件的pathpng-files int在css get以某种方式搞砸了。 下面是我的代码: bundles.Add(new StyleBundle("~/bundles/publiccss").Include( "~/Static/Css/bootstrap/bootstrap.css", "~/Static/Css/bootstrap/bootstrap-padding-top.css", "~/Static/Css/bootstrap/bootstrap-responsive.css", "~/Static/Css/bootstrap/docs.css")); bundles.Add(new ScriptBundle("~/bundles/publicjs").Include( "~/Static/Js/jquery-1.7.2.js", "~/Static/Js/bootstrap/bootstrap.js", "~/Static/Js/cookie/jquery.cookie.js")); 我没有看到button上的任何图标,同样。 我在这里做错了什么? 有什么build议么?