How to configure vendor view files?

In yii2, how to configure provider view files without changing the source view files?

I am using the user dektrium yii2 and would like to make a few changes to the login page.

+5
source share
1 answer

You can set your browsing path for dektrium yii2 in this way (suppose @app is your application alias):

'components' => [ 'view' => [ 'theme' => [ 'pathMap' => [ '@dektrium/user/views' => '@app/views/your_dir_views' // mapping for override the views dektrium with your views ], ], ..... ], 
+3
source

All Articles