Home > Back-end >  Is it possible to use Bootstrap in React Js app?
Is it possible to use Bootstrap in React Js app?

Time:01-24

Can I use Bootstrap in my React Js App? if yes, then how do i use? I would be great if you can help me out with some example.

CodePudding user response:

Yes, you can install bootstrap by npm i bootstrap and import the css in App.js file like this import 'bootstrap/dist/css/bootstrap.cssbut you can also use react-bootstrap for the pre-created bootstrap component:

npm i react-bootstrap

CodePudding user response:

go to react bootstrap and read about it.

CodePudding user response:

Yes you can use bootstrap in react

npm install react-bootstrap bootstrap
 or yarn add react-bootstrap bootstrap

import this in app.js

import 'bootstrap/dist/css/bootstrap.min.css';
  •  Tags:  
  • Related