I start developing a React app with reactstrap. I followed the Get Started running the following commands :
npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start
npm install bootstrap --save
npm install --save reactstrap@next react react-dom
Then I can see "bootstrap": "^4.0.0"
in package.json
's dependencies
and bootstrap/ in my project node_modules
folder. Well.
Now I would like to change, for instance, the boostrap primary color. Let's start easy :). I have read Bootstrap 4 Theming but I don't find any custom.scss
in my project.
What is the proper way to add and edit bootstrap theme when using reactstrap ? Plus, how do I keep my changes across bootstrap updates since /node_modules
is in .gitignore
?
PS: I am new to web / react development so my apologies if I ask/say anything stupid or obvious.
Thanks