в конфиге переопределил
Код: Выделить всё
'view' => [
'theme' => [
'class'=> yii\base\Theme::className(),
'basePath'=>'@app/themes/neat',
'baseUrl' => '@web/themes/neat',
'pathMap' => [
'@app/views' => '@app/themes/neat/views',
'@app/web' => '@app/themes/neat/web',
'@app/web/js' => '@app/themes/neat/web/js',
'@app/web/css' => '@app/themes/neat/web/css',
'@app/web/img' => '@app/themes/neat/web/img',
],
],
],
Код: Выделить всё
'@app/web/img' => '@app/themes/neat/web/img',