rails error compiling css asset -


i'm using compass, try import custom scss file in application.scss , have error: enter image description here

here application.scss code:

/*  * manifest file that'll compiled application.css, include files  * listed below.  *  * css , scss file within directory, lib/assets/stylesheets, vendor/assets/stylesheets,  * or vendor/assets/stylesheets of plugins, if any, can referenced here using relative path.  *  * you're free add application-wide styles file , they'll appear @ top of  * compiled file, it's better create new file per style scope.  *  *= require_self  *= require_tree  */  @import "foundation_and_overrides"; @import "pnp"; 

if remove require_tree error message disappear scss file (pnp.scss) not loaded page

create new file called custom.css.scss in app/assets/stylesheets , use imports there

@import "foundation_and_overrides"; @import "pnp"; 

hope helps.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -