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:
npm uninstall grunt-contrib-compass --save-dev
(removes compass node_modules , package.json)npm install grunt-contrib-sass --save-dev
(adds sass node_modules , package.json)
open gruntfile.js
- in
watch
task (around line 22) change "compass" "scripts" - change
compass
task (around line 109) "sass" format according grunt-contrib-sass docs. gruntfile gruntfile.js gist. - run find , replace "compass" "sass"
- install bourbon
Comments
Post a Comment