Now powered with scss-powertools! Read the docs for that to better understand how this works.
Please note! New components introduced after v4.1.1 haven't been added to the SCSS file in this Gist, yet. Please have a look at the Bootstrap source code, if you need some component that hasn't been imported.
Usage:
- Copy these files and put them to the right places in a NodeJS app
_name.scssshould be put in the scss folder- change the name of the
SCSS-file and specify it in the scripts inpackage.json
-
Replace all other things that start with
_inpackage.json(find and replace) and check what version of Bootstrap you want to use (tested for 4.1, but you should probably get the current version) -
Customize your
custom.scssfile -
Then you can compile everything in your command line with
npm run build
Read this page to find out more.
scss-powertoolsis used to create the CSS from SCSS. It will lint your code for you, without any config.
https://getbootstrap.com/docs/4.0/getting-started/theming/