I'm reading in all documentation that I can run npm install bootstrap@3
how do I put this in my package.json
file?
"bootstrap": "3.3.7"
<= doesn't work
"bootstrap@3": "3.3.7"
<= doesn't work
From bootstrap site:
https://getbootstrap.com/docs/3.3/getting-started/
From create-react-app site:
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-bootstrap
Yes, just put bootstrap and version that you want, like this:
"dependencies": {
...
"bootstrap": "3.3.7"
},
After that run:
npm install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With