Embarking on a new project with ReactJS ES6 and webpack.
Utilizing the react-static-boilerplate starter. My main query lies in how to import Bootstrap4 into the build process?
Avoiding the use of the generated bootstrap.css file, I aim to have webpack construct it instead. This way, I can easily modify its @variables, apply my theme, and more.
The initial steps involved cloning the boilerplate:
> git clone -o react-static-boilerplate -b master --single-branch \
https://github.com/kriasoft/react-static-boilerplate.git MyApp
>cd MyApp && npm install
Installed bootstrap via npm.
npm install [email protected]
Upon requiring the primary bootstrap file into my index.js, it loads seamlessly. However, I'm curious about including the sass files of Bootstrap to kickstart customization. Any guidance on this front would be greatly appreciated.