How to use Bootstrap and React-Bootstrap in next js

Описание к видео How to use Bootstrap and React-Bootstrap in next js

Useing Bootstarp in next Js
1. Open your terminal window and navigate to the place you want your Next.js project to locate in then run:

npx create-next-app next-bootstrap

2. Install react-bootstrap and bootstrap

yarn add react-bootstrap bootstrap --save

3. Import bootstrap styles in your _app.js:

import 'bootstrap/dist/css/bootstrap.min.css';

4. You can then use your react-bootstrap components as you would do in reactjs

Комментарии

Информация по комментариям в разработке