开发者

trouble using compass with rails

开发者 https://www.devze.com 2023-01-16 05:35 出处:网络
I am trying to use compass for the first time in my rails app. compass v. 0.10.5, haml v. 3.0.10 Although I say @import \"compass\" at the top of my sass file, compass does not seem to get loaded.

I am trying to use compass for the first time in my rails app.

compass v. 0.10.5, haml v. 3.0.10

Although I say @import "compass" at the top of my sass file, compass does not seem to get loaded. As a test, I can't use 'border-radius' on a div.

The installation seems to be correct and the files in the suggested places.

Any ideas on wh开发者_高级运维at I might be doing wrong? Or questions I have failed to ask myself?


This is a confession of a "duh" moment. I had placed the @import "compass/css3"; command in the partials/_base.scss file and in the screen.scss file said:

@import "partial/base";

and it should have been:

@import "partials/base";

I hate it that spelling counts!

0

精彩评论

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