custom module erroe
-
Hi,
I tried to install custom module based on your tutorial in youtube...but i am getting the following error..can you let me know how to resolve it?! -
Hi @Imad,
Can you share with me the steps till
php artisan serve
. So that I can guide you better.Because error clearly shows that some classes are not found this happens when user not register there autoloads in
composer.json
files or forgot to runcomposer dump-autoload
. -
Hi @devansh-webkul ,
i
I have followed all the steps mentioned in tutorial...Didnt skipped any..Also if I tried running composer dump autoload cmd...Again same error appears..PFA of service provider class and composer.json file.. -
Hi @Imad,
Just import this namespace
use Illuminate\Support\Facades\Event;
in top. -
@devansh-webkul said in custom module erroe:
use Illuminate\Support\Facades\Event;
Thanks @devansh-webkul
I have created a custom module called hello world..Following is my routes.php file..what url should i give in browser to access my helloworld view ?
-
The route which you specify here is the
/hello-world
. The same will work on the browser.