开发者

how do I link a sass stylesheet to rails templates?

This is a newb question, I know, but I can't seem to figure it out. I've been using rails for a while but always went with regular css. Not sure if I'm supposed to use

<%= stylesheet_link_tag 'style' %>

I store my sass file in public/stylesheets/sass/style.sass, and di开发者_运维问答d the whole

$ sass --rails /path/to/app

thing.

Oh, I'm trying it with rails-3 beta 2 and haml 3b2. Thanks.


Nevermind, forgot to restart the development server :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜