Sometimes we end up with a bunch of components, and the list inside app/components/ folder increases and becomes an uncomfortable long list to search them for.
So it would be great to organize them inside their own and respective directories, for instance:
Just like ng:page allows to do e.g. php artisan ng:page admin/dashboard which creates a page inside another directory e.g. app/pages/admin/dashboard/dashboard.page.html
I modified AngularComponent.php so it will be able to do like so, just reusing code from AngularPage.php -> Heres is the diff
Sometimes we end up with a bunch of components, and the list inside
app/components/
folder increases and becomes an uncomfortable long list to search them for. So it would be great to organize them inside their own and respective directories, for instance:Just like
ng:page
allows to do e.g.php artisan ng:page admin/dashboard
which creates a page inside another directory e.g.app/pages/admin/dashboard/dashboard.page.html
I modified
AngularComponent.php
so it will be able to do like so, just reusing code fromAngularPage.php
-> Heres is the diff