Commit f5e3da88 by Alexander Makarov

Added note about configuring theme do docs

parent 69eebffa
...@@ -2,3 +2,20 @@ Theming ...@@ -2,3 +2,20 @@ Theming
======= =======
TBD 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',
],
],
],
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment