Answer the question
In order to leave comments, you need to log in
Why is assetManager empty in view?
In layout in Yii::$app->assetManager->bundles I can see all connected resources.
But in the view that is rendered through this layout Yii::$app->assetManager->bundles is empty. Why?
How can I define the baseUrl in the view if I include resources in the layout in this way?
$asset = app\modules\admin\components\AdminAsset::register($this);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question