gruntjs - Use the Bootstrap config.json file with Bower -
gruntjs - Use the Bootstrap config.json file with Bower -
i used bootstrap customizer tool: http://getbootstrap.com/customize/ generates config.json file reuse whenever need create changes.
i utilize bower handle dependencies, except bootstrap, because need customized version.
is there way can tell bower utilize config.json file generate css?
the chosen reply question seems state possible, doesn't give much details , couldn't find else anywhere: twitter bootstraps config.json - do?
i found bundle lets customize bootstrap using own less files, that's not did, , doesn't seem utilize config.json file: https://www.npmjs.org/package/grunt-customize-bootstrap
thanks!
you can utilize bower install bootstrap-sass-official or less version if want , stated here https://github.com/twbs/bootstrap-sass#sass
you can import bootstrap-custom , comment out components don't need.
i had same issue you, bootstrap-custom.scss file looks
@import "bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/variables"; @import "bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins"; ... @import "bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/responsive-utilities"; and in default.scss file i've put
@import "bootstrap"; and compile!
ps: wanted point out link in comment need 50 reputation point :(
twitter-bootstrap gruntjs bower
Comments
Post a Comment