Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Naming imported scss files .scss or .css.scss

I was trying to get livereload working with rails 3.2, and I came across this question, of which there is a reference to not naming imported sass partials with .css.scss:

Rails: Use livereload with Asset Pipeline

Is this correct that imported SCSS files should be named file.scss and not file.css.scss?

like image 242
justingordon Avatar asked Oct 07 '22 16:10

justingordon


1 Answers

Honestly, I don't think it matters much. As a convention, I generally name files that will eventually be output as an actual CSS file as .css.scss and imported files as .scss.

I do the same for .html.haml and .haml for partials.

like image 112
Travis Vocino Avatar answered Oct 10 '22 04:10

Travis Vocino