반응형
Let's see how we can add style libraries in the React application
Bootstrap
Run the command shown below to install the bootstrap
npm i bootstrap
Add the path in the index.js file
import 'bootstrap/dist/css/bootstrap.css';
Done
References
Adding Bootstrap | Create React App (create-react-app.dev)
Adding Bootstrap | Create React App
While you don’t have to use any specific library to integrate Bootstrap with React apps, it's often easier than trying to wrap the Bootstrap jQuery plugins. React Bootstrap is the most popular option that strives for complete parity with Bootstrap. react
create-react-app.dev
728x90
반응형
'Frontend > React' 카테고리의 다른 글
Hooks - useRef (Creating a Reference to Elements) (11) | 2023.06.01 |
---|---|
Hooks - useEffect (Catching Changes in a Component) (0) | 2023.05.18 |
Hooks - useContext(Global State) (0) | 2023.05.15 |
React Hook - Redirection (React Router DOM) (0) | 2023.05.03 |
React Hooks - UseParams / UseSearchParams (React Router DOM) (0) | 2023.05.03 |