vendredi 3 mai 2019

Laravel nova tool not working with Class not found error

I'm creating a tool with laravel nova.

I ran this command first,

php artisan nova:tool mytools/cachier

And then in my mai app directory App\Providers\NovaServiceProvider I added,

use Mytools\Cachier\Cachier;

public function tools()
    {
        return [
            new Cachier(),
        ];

    }

But now when I'm trying to access app I'm getting this error.

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'Mytools\Cachier\Cachier' not found

It would be great if someone can help :'(



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2GZrmBJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire