New Command: php artisan module:make-component ComponentName ModuleName #1498
aaqibmehran
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
this is now in place |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think a new command to add blade components should be added in this package.
Just like default Laravel blade components in https://laravel.com/docs/9.x/blade#components.
php artisan module:make-component ComponentName ModuleName
This command should generate two files:
Modules\ModuleName\View\Components\ComponentName.php
Modules\ModuleName\resources\views\components\component-name.php
Beta Was this translation helpful? Give feedback.
All reactions