私はapplication.cssファイルをsassファイルに変更し、必要なファイルをすべて取得するために@importを使いたいと思います。次に、application.css.sassをページ固有のsassファイルに@ importする必要があります。これはすべての開発に美しく動作しますが、私はHerokuの上の生産ENVにプッシュするとき、私はこのエラーを取得:application.cssをapplication.css.sassに変更することはできますか?
Error compiling CSS asset
Sass::SyntaxError: File to import not found or unreadable: application
application.css.sass:
@import "reset"
@import "typography"
@import "buttons"
@import "junk"
$yellow: #f0f090
$orange: #f89818
$blue1: #184898
$blue2: #4888c8
body
background: ...
...
/* all the rest of the app-wide styling */
uniquePage.css.sass :私は0123呼び出すapplication.cssは異なるものを必要とするページのその後
@import "application"
/*page specific styling*/
!!! 5
%html
%header
= stylesheet_link_tag "uniquePage"
のために行くそうでない場合は、メインCSSにマージしようとすると、私は疑問になると思い、どのように私は別のマニフェストファイルを作るのですか異なるCSSセットのために? –