You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
686 B
18 lines
686 B
10 years ago
|
Using the .less files of Bootstrap directly
|
||
|
===========================================
|
||
|
|
||
|
If you want to include the [Bootstrap css directly in your less files](http://getbootstrap.com/getting-started/#customizing)
|
||
|
you may need to disable the original bootstrap css files to be loaded.
|
||
|
You can do this by setting the css property of the [[yii\bootstrap\BootstrapAsset|BootstrapAsset]] to be empty.
|
||
|
For this you need to configure the `assetManager` [application component](structure-application-components.md) as follows:
|
||
|
|
||
|
```php
|
||
|
'assetManager' => [
|
||
|
'bundles' => [
|
||
|
'yii\bootstrap\BootstrapAsset' => [
|
||
|
'css' => [],
|
||
|
]
|
||
|
]
|
||
|
]
|
||
|
```
|