first commit
This commit is contained in:
17
vendor/yiisoft/yii2-bootstrap5/docs/guide-ja/topics-sass.md
vendored
Normal file
17
vendor/yiisoft/yii2-bootstrap5/docs/guide-ja/topics-sass.md
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
Bootstrap の .sass ファイルを直接に使う
|
||||
=======================================
|
||||
|
||||
あなたが [Bootstrap CSS をあなたの sass ファイルに直接含める](https://getbootstrap.com/getting-started/#customizing) ことを望む場合は、
|
||||
オリジナルの CSS ファイルがロードされないように無効化する必要があります。
|
||||
[[yii\bootstrap5\BootstrapAsset|BootstrapAsset]] の `css` プロパティを空に設定することによって、そうすることが出来ます。
|
||||
そのためには、`assetManager` [アプリケーション・コンポーネント](https://github.com/yiisoft/yii2/blob/master/docs/guide-ja/structure-application-components.md) を以下のように構成します。
|
||||
|
||||
```php
|
||||
'assetManager' => [
|
||||
'bundles' => [
|
||||
'yii\bootstrap5\BootstrapAsset' => [
|
||||
'css' => [],
|
||||
]
|
||||
]
|
||||
]
|
||||
```
|
||||
Reference in New Issue
Block a user