sass - How to use Yeoman with Bourbon rather than Compass? -


how go setting yeoman + grunt.js compile sass without compass? i'd use thoughtbot's bourbon rather compass. need create custom generator or matter of passing flag existing yeoman generators?

in directory:

  1. npm uninstall grunt-contrib-compass --save-dev (removes compass node_modules , package.json)
  2. npm install grunt-contrib-sass --save-dev (adds sass node_modules , package.json)

open gruntfile.js

  1. in watch task (around line 22) change "compass" "scripts"
  2. change compass task (around line 109) "sass" format according grunt-contrib-sass docs. gruntfile gruntfile.js gist.
  3. run find , replace "compass" "sass"
  4. install bourbon

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -