2
我正在努力BIG TIME正確地設置了此框架。有沒有人成功地得到這個工作?如果是這樣,我會喜歡任何和所有的反饋。謝謝!在Rails 3.1中使用Sass + Compass + Blueprint應用程序
我從http://compass-style.org/install/按照指示,不知道在何處放置文件的Rails的內3.1應用:內部app/assets/stylesheets
或將其安裝指南針時駐留保持在app/stylesheets
?
另外,指南針給出一組指令如下$ compass init rails . --using blueprint
後:
Now add these lines to the head of your layout(s):
%head
= stylesheet_link_tag 'screen.css', :media => 'screen, projection'
= stylesheet_link_tag 'print.css', :media => 'print'
/[if lt IE 8]
= stylesheet_link_tag 'ie.css', :media => 'screen, projection'
這看起來像HAML(這我不熟悉)。我使用.erb添加這些鏈接標記,而沒有任何工作。
http://metaskills.net/2011/05/18/use-compass-sass- framework-files-with-the-rails-3.1-asset-pipeline/google是你的朋友 –
@iliacholy我讀過這個多次,沒有運氣 – pruett
你沒有提到你的問題。或者任何真的。你需要告訴我們你遇到了什麼問題。 –