first commit
This commit is contained in:
18
vendor/yiisoft/yii2-bootstrap5/docs/guide-uk/topics-sass.md
vendored
Normal file
18
vendor/yiisoft/yii2-bootstrap5/docs/guide-uk/topics-sass.md
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
Використання .sass файлів в Bootstrap
|
||||
=====================================
|
||||
|
||||
Якщо ви хочете включити [CSS Bootstrap напряму до ваших sass файлів](https://getbootstrap.com/getting-started/#customizing)
|
||||
вам необхідно відключити завантаження оригінальних css файлів bootstrap.
|
||||
Ви можете зробити це, встановивши CSS властивість [[yii\bootstrap5\BootstrapAsset|BootstrapAsset]] порожньою.
|
||||
Для цього вам необхідно налаштувати [компонент додатка](https://github.com/yiisoft/yii2/blob/master/docs/guide/structure-application-components.md)
|
||||
`assetManager` наступним чином:
|
||||
|
||||
```php
|
||||
'assetManager' => [
|
||||
'bundles' => [
|
||||
'yii\bootstrap5\BootstrapAsset' => [
|
||||
'css' => [],
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
Reference in New Issue
Block a user