发布模式下的bootstrap的.net mvc问题

时间:2018-06-07 13:58:50

标签: .net asp.net-mvc

enter image description here

当我在mvc应用程序中调试.net vs 2015时,上面的控件是正确的,但是当我在发布模式下发布时,我得到以下内容:

enter image description here

我在发布模式中添加了BundleTable.EnableOptimizations = true;deubg= false,并且引导控件在发布模式下无效。

<meta name="viewport" content="width=device-width, initial-scale=1"> 和媒体查询

@media only screen and (max-width: 700px)

我想在调试模式下控制宽度。

0 个答案:

没有答案