I
I
Ilya Beloborodov2017-08-08 16:27:44
Yii
Ilya Beloborodov, 2017-08-08 16:27:44

Yii2 separate folder for resources (./web/assets)?

I want to display the assets folder separately for the module. It looks like there is such a possibility

\Yii::$app->assetManager->basePath = '/admin-assets';

this folder is created and populated, but all resources are still pulled from /web/assets

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vyachin, 2017-08-08
@kowap

www.yiiframework.com/doc-2.0/yii-web-assetmanager....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question