我在我的 Ruby on Rails 网站上使用 bootstrap-sass gem。我想让我的布局响应,所以我尝试添加@import "twitter/bootstrap/responsive"
到各种文件,但我得到的只是一条消息,上面写着:
找不到或无法读取要导入的文件:引导程序/响应式。加载路径:Sass::Rails::Importer(site_path/app/assets/stylesheets/bootstrap_and_overrides.css.scss)
我在我的 Ruby on Rails 网站上使用 bootstrap-sass gem。我想让我的布局响应,所以我尝试添加@import "twitter/bootstrap/responsive"
到各种文件,但我得到的只是一条消息,上面写着:
找不到或无法读取要导入的文件:引导程序/响应式。加载路径:Sass::Rails::Importer(site_path/app/assets/stylesheets/bootstrap_and_overrides.css.scss)
@import "bootstrap-responsive";
正如版本 2 的bootstrap-sass 文档中所说的那样。这在 bootstrap-sass 版本 3 中被删除,它始终是响应式的。