You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am interested in using the modular approach for a project which will need to be extendable.
But the first issue I ran into is, How can I run php artisan commands in the module's directory?
We for example use powergrid for datatables, but I can't generate the powegrid table using the php artisan powergrid:create command.
This generates the powergrid in the root project. If I cd into the module directory and run it, php artisan is not available since it's in the root directory.
And if I create the file and move it into the modules directory, how do I call it from the view? Meaning how do I render it inside the view?
Am I missing something simple?
Also, should I be installing packages like this for each extension? Or just in the main project?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey Guys,
I am interested in using the modular approach for a project which will need to be extendable.
But the first issue I ran into is, How can I run php artisan commands in the module's directory?
We for example use powergrid for datatables, but I can't generate the powegrid table using the
php artisan powergrid:create
command.This generates the powergrid in the root project. If I cd into the module directory and run it, php artisan is not available since it's in the root directory.
And if I create the file and move it into the modules directory, how do I call it from the view? Meaning how do I render it inside the view?
Am I missing something simple?
Also, should I be installing packages like this for each extension? Or just in the main project?
Beta Was this translation helpful? Give feedback.
All reactions