mardi 3 septembre 2019

Call to undefined method Illuminate\View\Compilers\BladeCompiler::component()/

I have tried to create a Blade component in laravel 5.6. I have added this code segment Blade::component('front.components.filter','filter'); in AppServiceProvider.php and add this in my blade file @filter @endfilter when I try to run the program I have got this error Call to undefined method Illuminate\View\Compilers\BladeCompiler::component()/ How can I fix this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire