Where is the proper place to put theme file according to yii2 standard?
I has read these guide :
From this guide, it looks like i should put theme inside @app.
From this guide, it looks like i should put theme also inside @app.
So i download this themes
I use yii2 basic
In config i has try both of this
'view' => [ 'theme' => [ 'basePath' => '@app/themes/theme_name', 'baseUrl' => '@web/themes/theme_name', 'pathMap' => [ '@app/views' => '@app/themes/theme_name', ], ] ],
'view' => [ 'class' => 'yii\web\View', 'theme' => [ 'class' => 'yii\base\Theme', 'pathMap' => ['@app/views' => '@app/themes/theme_name'], 'baseUrl' => '@web/themes/theme_name' ] ],
Using either of code above, theme material-simple and metro work fine with theme file put inside @app/themes/theme_name.
But theme material-default and greenery require me to put theme file inside @web/themes/theme_name as well. If i dont do this, the page will display as plain html, no style at all.
Is place theme file in both place correct thing to do? Am i doing something wrong?
Anyone know where i can find modern responsive yii2 framework? Theme on yii2 themefactory, nearly all of them seem to be nonresponsive.