![]() ![]() ![]() Yii\bootstrap4\BootstrapAsset and/or yii\bootstrap4\BootstrapPluginAsset for bootstrap 4.x ( bsVersion = 4 setting) Yii\bootstrap\BootstrapAsset and/or yii\bootstrap\BootstrapPluginAsset for bootstrap 3.x ( bsVersion = 3 setting) The Krajee extension asset bundle(s) by default depend on one of the following asset bundles to load the Bootstrap CSS and JS: "yiisoft/yii2-bootstrap": Bootstrap CSS/JS "yiisoft/yii2-bootstrap4": install yiisoft/yii2-bootstrap, add the repo to the require section of your application's composer.json. "yiisoft/yii2-bootstrap5": install yiisoft/yii2-bootstrap4, add the repo to the require section of your application's composer.json. To install yiisoft/yii2-bootstrap5, add the repo to the require section of your application's composer.json. ![]() Similarly, if bsVersion is set to 3.x and yiisoft/yii2-bootstrap is not installed, an exception message will be thrown mentioning you to install the yiisoft/yii2-bootstrap extension. If bsVersion is set to 4.x and yiisoft/yii2-bootstrap4 is not installed, then an exception message will be thrown mentioning you to install the yiisoft/yii2-bootstrap4 extension. If bsVersion is set to 5.x and yiisoft/yii2-bootstrap5 is not installed, then an exception message will be thrown mentioning you to install the yiisoft/yii2-bootstrap5 extension. This dependency has not been pre-built into the composer configuration for Krajee extensions, to allow better control to the developers in configuring their bootstrap library version. You need to install one of yiisoft/yii2-bootstrap or yiisoft/yii2-bootstrap4 or yiisoft/yii2-bootstrap5 extensions manually in your application to enable Bootstrap 3.x or 4.x or 5.x functionality respectively. ![]()
0 Comments
Leave a Reply. |