简体   繁体   English

Bootstrap-rubygem与twitter-bootstrap-rails gem

[英]Bootstrap-rubygem vs twitter-bootstrap-rails gem

I'm running a Rails 5 application and am looking to implement Bootstrap for the front-end styling. 我正在运行Rails 5应用程序,并希望为前端样式实现Bootstrap。 Can't find a general consensus on the difference between these two gems: https://github.com/seyhunak/twitter-bootstrap-rails and https://github.com/twbs/bootstrap-rubygem 找不到关于这两种宝石之间区别的一般共识: https : //github.com/seyhunak/twitter-bootstrap-railshttps://github.com/twbs/bootstrap-rubygem

The first is more popular by downloads, but the second is maintained by the official Bootstrap team. 第一个通过下载更受欢迎,但是第二个由官方的Bootstrap团队维护。 The first also seems to have generators which would be handy, but if someone could explain the differences that would be great. 第一个似乎也有方便的生成器,但是如果有人可以解释它们之间的差异,那将是巨大的。

Thanks! 谢谢!

后者采用sass ,而前者使用less ,因为轨道通常使用SCSS(SASS)我会去与https://github.com/twbs/bootstrap-rubygem但千万记住,使用引导4.如果需要3或更少,请使用https://github.com/twbs/bootstrap-sass

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM