Joined June 2012
·
Posted to
Organising SASS Assets in Rails
over 1 year
ago
@koraktor Yeah /vendor
is definitely the right place to put those, lib is more for code you've written yourself. Basically any regular Ruby code that doesn't fit into Rails' organisation structure like custom subclasses of markdown parsers.
Posted to
Organising SASS Assets in Rails
over 1 year
ago
I tend to avoid the .css
extension on anything other than the main application stylesheet. Also I prefer to use Sass's include syntax to build my final stylesheet since that way I can easily share variables and mixins across all my different files.
Yep, that's a totally sensible approach, I have a whole bunch of complaints I could level at the asset pipeline but it's not too much of an inconvenience.