Skip to content
Jason Karns edited this page Jun 21, 2013 · 3 revisions

Using Sass

Lineman supports Sass via grunt-contrib-sass. Because the sass task requires Ruby & the "sass" gem to be installed in order to function, it is disabled by default.

First, to enable sass, in your config/application.js file, specify:

enableSass: true

Once Sass is enabled, it will look for a "main.scss" or "main.sass" file in app/css. Rather than concatenating all the source files you include in your project, Sass files will only be included as you @import them from your main file. For more information on overriding the options in grunt-contrib-sass, please check out its README.

Clone this wiki locally