1//1.run following commnad in cmd:
2npm install bootstrap --save
3//you can now use bootstrap component. example:
4import { Button } from 'react-bootstrap';
5
6//2.or add this to index.js:
7<link
8 rel="stylesheet"
9 href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
10 integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
11 crossorigin="anonymous"
12/>
1# with npm
2npm install react-bootstrap bootstrap
3
4#with yarn
5yarn add react-bootstrap bootstrap
11.run following commnad in cmd:
2npm install bootstrap --save
3
42.after install add this to index.js:
5import 'bootstrap/dist/css/bootstrap.min.css';