本文介绍了'twitter/bootstrap/bootstrap.less' 未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用 Rails 4.0.0 玩 Twitter Bootstrap Basics.rc1 和 ruby 1.9.3p392.
I was trying to play with Twitter Bootstrap Basics using Rails 4.0.0.rc1 and ruby 1.9.3p392.
然后我尝试访问http://localhost:3000/products
我遇到了错误:
未找到twitter/bootstrap/bootstrap.less".
请看附件截图.
代码位于 https://github.com/tenzan/twitter-bootstrap.git
推荐答案
你必须在 application.css 中要求 Bootstrap LESS (bootstrap_and_overrides.css.less)
You have to require Bootstrap LESS (bootstrap_and_overrides.css.less) in your application.css
/*
*= require bootstrap_and_overrides
*/
这篇关于'twitter/bootstrap/bootstrap.less' 未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!