adicionar 'bootstrap' para reagir
//1.run following commnad in cmd:
npm install bootstrap --save
//you can now use bootstrap component. example:
import { Button } from 'react-bootstrap';
//2.or add this to index.js:
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>
reagir importar o CSS de arranque
{/* The following line can be included in your src/index.js or App.js file*/}
import 'bootstrap/dist/css/bootstrap.min.css';
instalar o boostrap react
npm install react-bootstrap bootstrap
instalar o Suporte de arranque react
# with npm
npm install react-bootstrap bootstrap
#with yarn
yarn add react-bootstrap bootstrap
importar a reacção do 'bootstrap'
import 'bootstrap/dist/css/bootstrap.css';// Put any other imports below so that CSS from your// components takes precedence over default styles.Copy
instalar bootstrap en react
npm install bootstrap