mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 17:21:26 +08:00
21 lines
396 B
Markdown
21 lines
396 B
Markdown
Theming
|
|
=======
|
|
|
|
TBD
|
|
|
|
Configuring current theme
|
|
-------------------------
|
|
|
|
Theme configuration is specified via `view` component of the application. So in order to set it up the following should
|
|
be in your application config file:
|
|
|
|
```php
|
|
'components' => [
|
|
'view' => [
|
|
'theme' => [
|
|
'pathMap' => ['@app/views' => '@webroot/themes/basic'],
|
|
'baseUrl' => '@web/themes/basic',
|
|
],
|
|
],
|
|
],
|
|
``` |