demo-pathology/vendor/yiisoft/yii2-bootstrap5/docs/guide/topics-sass.md

18 lines
744 B
Markdown
Raw Normal View History

2025-12-26 03:03:19 +00:00
Using the .sass files of Bootstrap directly
===========================================
2026-01-09 10:35:33 +00:00
If you want to include the [Bootstrap css directly in your sass files](https://getbootstrap.com/getting-started/#customizing)
2025-12-26 03:03:19 +00:00
you may need to disable the bootstrap css files loaded by this extension.
You can do this by setting the css property of [[yii\bootstrap5\BootstrapAsset|BootstrapAsset]] to be empty.
For this, you need to configure the `assetManager` [application component](https://github.com/yiisoft/yii2/blob/master/docs/guide/structure-application-components.md) as follows:
```php
'assetManager' => [
'bundles' => [
'yii\bootstrap5\BootstrapAsset' => [
'css' => [],
]
]
]
```