【问题标题】:Bootstrap SASS Install引导 SASS 安装
【发布时间】:2014-04-10 10:25:41
【问题描述】:

我很想使用新的 Bootstrap SASS,但是我注意到必须添加一个精度值才能继续。我知道这个错误以及它如何使项目受益。

但是我不确定如何将它构建到我的项目中,这里非常缺乏 Bootstrap 文档。..

::Sass::Script::Number.precision = [10, ::Sass::Script::Number.precision].max

这是上面给出的代码和链接 - https://github.com/twbs/bootstrap-sass

我会注意到我已经安装了下载 gem 并使用 bower 安装了它。只需要让这个代码成为一个可以称之为家的地方!

【问题讨论】:

  • 您有 ruby​​ on rails 标签,但您是通过 Bower 安装“gem”?你是用 Bower 安装还是用 Rubygems 安装的?

标签: ruby-on-rails twitter-bootstrap sass bootstrap-sass


【解决方案1】:

尝试将单行放在 application.rb 中

https://github.com/twbs/bootstrap-sass/issues/409

【讨论】:

  • 我打算使用 compass,我可以否定一个 application.rb 并在这里使用它..?
  • 这个页面有帮助吗? How to use sass --precision?
  • 我本来打算安装 Grunt 以后担心。然后 Codekit 2 支持这个全局设置更改 win!。感谢@yoppuyoppu 的回复!
猜你喜欢
  • 2014-04-14
  • 1970-01-01
  • 1970-01-01
  • 2020-03-05
  • 1970-01-01
  • 2018-04-02
  • 2018-04-27
  • 2021-10-15
  • 2018-08-23
相关资源
最近更新 更多