import bootstrap react
1.run commnad in cmd
npm install bootstrap --save
2.after install add this to index.js
import 'bootstrap/dist/css/bootstrap.min.css';# with npm
npm install react-bootstrap bootstrap
#with yarn
yarn add react-bootstrap bootstrapimport 'bootstrap/dist/css/bootstrap.css';// Put any other imports below so that CSS from your// components takes precedence over default styles.Copy{/* The following line can be included in your src/index.js or App.js file*/}
import 'bootstrap/dist/css/bootstrap.min.css';npm install react-bootstrap bootstrapnpm install --save bootstrapCopy
Also in JavaScript:
- palindrome in javascript
- Expected the depth of nested jsx elements to be <= 2, but found 3
- for each array javascript
- node js check if called from command line
- get last char javascript
- advanced axios in react js using create and interceptor
- Material-ui wallet icon
- react router last page
- react useeffect not on first render
- date range query knex
- for array javascript
- angular http
- change name of html element javascript
- greater than x but less than y js
- how to loop object javascript
- how to pass a variable to jspf
- jquery select element with data
- return object list in find js
- regex validate email
- website login and registartion source code jsp java
- tailwind hover dont work
- react tooltip on disabled button
- Express.js - app.listen vs server.listen
- javascript get index of object in array