Commit 7c7ef600 by Carsten Brandt

guide about using bootstrap less files

parent 9e1fa1f7
......@@ -45,3 +45,22 @@ framework features. All widgets belong to `\yii\bootstrap` namespace:
- NavBar
- Progress
- Tabs
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 `BootstrapAsset` to be empty.
For this you need to configure the `assetManagner` application component as follows:
```php
'assetManager' => [
'bundles' => [
'yii\bootstrap\BootstrapAsset' => [
'css' => [],
]
]
]
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment