Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add bootstrap to react

npm install bootstrap
or use yarn 
yarn add bootstrap
then put this in your src/index.js file

import 'bootstrap/dist/css/bootstrap.css';
// Put any other imports below so that CSS from your
// components takes precedence over default styles.
Source by create-react-app.dev #
 
PREVIOUS NEXT
Tagged: #add #bootstrap #react
ADD COMMENT
Topic
Name
5+7 =