diff --git a/docs/guide-de/asset-bundles.md b/docs/guide-de/asset-bundles.md index 898dbb9..94b0632 100644 --- a/docs/guide-de/asset-bundles.md +++ b/docs/guide-de/asset-bundles.md @@ -2,14 +2,17 @@ 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. +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 Anwendunganforderungen erfordern verschiedene Bundles (bzw. Kombinationen). +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. diff --git a/docs/guide/asset-bundles.md b/docs/guide/asset-bundles.md index cfe02b0..4965d4f 100644 --- a/docs/guide/asset-bundles.md +++ b/docs/guide/asset-bundles.md @@ -7,10 +7,12 @@ They are: - [[yii\bootstrap5\BootstrapAsset|BootstrapAsset]] - contains only the main CSS files. - [[yii\bootstrap5\BootstrapPluginAsset|BootstrapPluginAsset]] - depends on [[yii\bootstrap5\BootstrapAsset]], contains the javascript files. +- [[yii\bootstrap5\BootstrapIconAsset|BootstrapIconAsset]] - contains Bootstrap icons. Particular application needs may require different bundle (or bundle combination) usage. If you only need CSS styles, [[yii\bootstrap5\BootstrapAsset]] will be enough for you. However, if you intend to use Bootstrap JavaScript, you will need to register [[yii\bootstrap5\BootstrapPluginAsset]] -as well. +as well. If you'd like to use the Bootstrap icons, you'll need to add `twbs/bootstrap-icons` package to your +`composer.json` and register [[yii\bootstrap5\BootstrapIconAsset]] in your application. > Tip: most of the widgets register [[yii\bootstrap5\BootstrapPluginAsset]] automatically.