Closed strtob closed 3 years ago
public $depends = [ 'yii\web\YiiAsset', 'Yiisoft\Yii\Bootstrap5\Assets\BootstrapAsset', // this line ];
vendor/yiisoft/yii2/web/AssetManager.php:
Call to undefined method Yiisoft\Yii\Bootstrap5\Assets\BootstrapAsset::publish()
*/ protected function loadBundle($name, $config = [], $publish = true) { if (!isset($config['class'])) { $config['class'] = $name; } /* @var $bundle AssetBundle */ $bundle = Yii::createObject($config); if ($publish) { $bundle->publish($this); } return $bundle; } /** * Loads dummy bundle by name. * * @param string $name
This package doesn't work with yii2 applications.
What steps will reproduce the problem?
What is the expected result?
What do you get instead?
vendor/yiisoft/yii2/web/AssetManager.php:
Call to undefined method Yiisoft\Yii\Bootstrap5\Assets\BootstrapAsset::publish()
Additional info