muyuym / yii2-adminlte3

adminlte3 for yii2
BSD 3-Clause "New" or "Revised" License
74 stars 27 forks source link

I am missing something #19

Open sundown11 opened 2 years ago

sundown11 commented 2 years ago

Hi, as per your README.md I copied the files from vendor/hail812/yii2-adminlte3/src/views to my @app/view folder and modified the web config to set the view path.

I then modified the copied site/index.php file but it still seems to be loading your site/index.php page from the vendor folder. How do I use my own site/index.php file? Am I missing something?

sorry for my clumsy explanation , I am new to the y112 "theming" stuff.

Nick

biladina commented 2 years ago

just remove this in your config, and it should be able to redirect to your own views..

'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/hail812/yii2-adminlte3/src/views'
             ],
         ],
    ],
],