Webpack + Customizable Bootstrap 3.x (LESS)

Published on

Install npm –save install bootstrap Create directory src/bootstrap Copy file from node_modules/bootstrap/less/bootstrap.less to src/bootstrap/bootstrap.less Fix import to begin with @import “~bootstrap/less/…”;. Add theme import @import “~bootstrap/less/theme.less”;. Add overrides, for example @import “variables.less”; and redefine @brand-primary. Create file src/bootstrap/bootstrap.js. Please refer to node_modules/bootstrap/dist/js/npm.js to find out what js modules could be used and in what order. … Continue reading Webpack + Customizable Bootstrap 3.x (LESS)