How to make Rails 3.1 use SASS (Over SCSS) as the default?

后端 未结 6 1590
无人及你
无人及你 2020-12-12 14:06

Having a hard time figuring out how to make SASS, not SCSS, as the default for stylesheets.

I\'ve tried making a sass_config.rb file with this:

6条回答
  •  天涯浪人
    2020-12-12 15:09

    I added the following to config/environments/development.rb:

    config.sass.preferred_syntax = :sass
    

    That did the trick.

提交回复
热议问题