自举开关不工作

时间:2017-05-23 02:26:02

标签: css asp.net-mvc twitter-bootstrap

我正在使用bootstrap switch并且我使用Nuget包管理器安装它。这是我的解决方案资源管理器在安装后的样子:

bootstrap-switch.css

bootstrap-switch.js

然后我在BundleConfig.cs中为它们添加了两个新的包: bundle

我在布局视图中使用了这样的包: enter image description here

在实际视图中,我有一个像这样的复选框: enter image description here

我还初始化了文档就绪功能中的引导开关: enter image description here

但是当我运行该页面时,它仍然看起来我没有正确包含css文件: enter image description here

0 个答案:

没有答案