반응형
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)
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 |