1

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

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

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

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

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

4

1 回答 1

1

Try putting the one-liner in application.rb

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

于 2014-03-07T10:59:34.170 回答