You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Markus Lachinger edited this page Dec 4, 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, add enableSass: true to the config like so:
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.
For installing ruby see rvm or rbenv + rbenv-build. To install "sass" gem enter the following in your shell: