मैं अपनी application.css फ़ाइल को एक sass फ़ाइल में बदलना चाहता हूं और सभी आवश्यक फ़ाइलों को खींचने के लिए @import का उपयोग करना चाहता हूं। फिर मैं पेज विशिष्ट एसएएस फाइलों में application.css.sass को आयात करना चाहता हूं। यह सब विकास में खूबसूरती से काम करता है, लेकिन जब मैं Heroku पर उत्पादन env को धक्का मैं इस त्रुटि मिलती है:क्या आवेदन.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 :
@import "application"
/*page specific styling*/
तब पृष्ठों सामान अलग की जरूरत है कि application.css से मैं फोनपर
!!! 5
%html
%header
= stylesheet_link_tag "uniquePage"
तो मुझे लगता है कि प्रश्न बन जाता है, के लिए जाने कैसे मैं अलग प्रकट फ़ाइलों कर सकता हूँ के रूप में विभिन्न सीएसएस सेट के लिए? –