first commit
This commit is contained in:
18
vendor/yiisoft/yii2-bootstrap5/docs/guide-de/asset-bundles.md
vendored
Normal file
18
vendor/yiisoft/yii2-bootstrap5/docs/guide-de/asset-bundles.md
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
Asset Bundles
|
||||
=============
|
||||
|
||||
Bootstrap ist eine komplexe Front-End-Lösung, welche CSS, Javascript, Schriften usw. beinhaltet.
|
||||
Um Ihnen die flexibelste Kontrolle über die einzelnen Komponenten zu ermöglichen, enthält diese Erweiterung verschiedene Asset Bundles.
|
||||
|
||||
Das sind:
|
||||
- [[yii\bootstrap5\BootstrapAsset|BootstrapAsset]] - enthält nur das hauptsächliche CSS.
|
||||
- [[yii\bootstrap5\BootstrapPluginAsset|BootstrapPluginAsset]] - enthält das Javascript. Abhängig von [[yii\bootstrap5\BootstrapAsset]].
|
||||
- [[yii\bootstrap5\BootstrapIconAsset|BootstrapIconAsset]] - enthält die Bootstrap Icons.
|
||||
|
||||
Verschiedene Anwendungsanforderungen erfordern verschiedene Bundles (bzw. Kombinationen).
|
||||
Falls Sie nur auf das CSS angewiesen sind, reicht es wenn Sie [[yii\bootstrap5\BootstrapAsset]] laden.
|
||||
Wenn Sie das Javascript verwenden möchten, müssen Sie [[yii\bootstrap5\BootstrapPluginAsset]] auch laden.
|
||||
Falls Sie die Icons von Bootstrap 5 verwenden möchten, fügen Sie `twbs/bootstrap-icons` zu ihrem `composer.json` in die
|
||||
`require` Sektion ein und registrieren Sie [[yii\bootstrap5\BootstrapIconAsset]] in Ihrer Applikation
|
||||
|
||||
> Tipp: Die meisten Widgets laden [[yii\bootstrap5\BootstrapPluginAsset]] automatisch.
|
||||
Reference in New Issue
Block a user