npm i react bootstrap code example

Example 1: npm install React Bootstrap

npm install react-bootstrap bootstrap

Example 2: npm bootstrap

npm install bootstrap@latest

Example 3: install react bootstrap

# with npm
npm install react-bootstrap bootstrap

#with yarn
yarn add react-bootstrap bootstrap

Example 4: bootstrap import in react

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
   integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">

Example 5: how to install bootstrap in react

npm install --save bootstrapCopy