diff --git a/environments/dev/backend/config/main-local.php b/environments/dev/backend/config/main-local.php index d9a8ceb..fae2733 100644 --- a/environments/dev/backend/config/main-local.php +++ b/environments/dev/backend/config/main-local.php @@ -19,6 +19,32 @@ $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', + 'generators' => [ + 'model' => [ + 'class' => 'izyue\admin\generators\model\Generator', + 'templates' => [ + 'default' => '@izyue/admin/generators/model/default', + ] + ], + 'crud' => [ + 'class' => 'izyue\admin\generators\crud\Generator', + 'templates' => [ + 'default' => '@izyue/admin/generators/crud/default', + ] + ], + 'controller' => [ + 'class' => 'izyue\admin\generators\controller\Generator', + 'templates' => [ + 'default' => '@izyue/admin/generators/controller/default', + ] + ], + 'form' => [ + 'class' => 'izyue\admin\generators\form\Generator', + 'templates' => [ + 'default' => '@izyue/admin/generators/form/default', + ] + ], + ], ]; }