如何调整链轮加载scss文件的顺序?

时间:2011-07-29 11:58:52

标签: ruby-on-rails-3 assets sprockets asset-pipeline

我想影响我的scss文件放入最终application.css文件的顺序,因为我希望能够覆盖在另一个scss文件中定义的一些样式。

我不知道该怎么做。

亲切的问候,

尼尔斯

1 个答案:

答案 0 :(得分:1)

我想你想要类似的东西。

/*
 * This is a manifest file that'll automatically include all the stylesheets available in this directory
 * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
 * the top of the compiled file, but it's generally better to create a new file per style scope.
 *= require_self
 *= require_tree .
 *= require file1
 *= require file2
 *= require file3
 */