add new guide
This commit is contained in:
@ -79,7 +79,9 @@ Now, to tell the module to use your class instead, you simply need to update the
|
||||
the `Module::classMap` attribute.
|
||||
|
||||
```php
|
||||
\\ ...
|
||||
|
||||
// ...
|
||||
|
||||
'modules' => [
|
||||
'user' => [
|
||||
'class' => Da\User\Module::class,
|
||||
@ -88,6 +90,7 @@ the `Module::classMap` attribute.
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
```
|
||||
|
||||
The definition can be any of the following (from Yii2's DI container):
|
||||
|
||||
@ -5,7 +5,9 @@ In case you need to override the default views (that you surely have to do if yo
|
||||
Bootstrap), Yii2 provides a mechanism that is really easy to do:
|
||||
|
||||
```php
|
||||
|
||||
// ... other configuration here
|
||||
|
||||
'components' => [
|
||||
'view' => [
|
||||
'theme' => [
|
||||
@ -15,6 +17,7 @@ Bootstrap), Yii2 provides a mechanism that is really easy to do:
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
// ...
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user