Добавить npm.md
This commit is contained in:
18
npm.md
Normal file
18
npm.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## Установить bootstrap
|
||||
|
||||
Устанавливаем пакеты
|
||||
```bash
|
||||
npm install bootstrap@5 @popperjs/core
|
||||
```
|
||||
|
||||
|
||||
Имопртируем в файл /resources/js/app.js
|
||||
```js
|
||||
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||
import 'bootstrap'
|
||||
```
|
||||
И сюда /resources/css/app.css
|
||||
```css
|
||||
@import "bootstrap/dist/css/bootstrap.min.css";
|
||||
@import "bootstrap-icons/font/bootstrap-icons.css";
|
||||
```
|
||||
Reference in New Issue
Block a user