arsenaltech / nova-tab

Laravel Nova Tabs
74 stars 17 forks source link

Class 'Arsenaltech\NovaTab\Resource' not found #23

Closed fabiobettiol closed 5 years ago

fabiobettiol commented 5 years ago

\Nova\Resource.php:

<?php

namespace App\Nova;

use Laravel\Nova\Resource as NovaResource;
use Laravel\Nova\Http\Requests\NovaRequest;

use Arsenaltech\NovaTab\Resource as TabResource;

abstract class Resource extends TabResource
{
...
shabbirbharmal commented 5 years ago

Please review updated readme on github. We are trait instead of Arsenaltech\NovaTab\Resource

Add the Tabs trait to your App\Nova\Resource class.

``use Arsenaltech\NovaTab\Tabs;

abstract class Resource extends NovaResource { use Tabs;

fabiobettiol commented 5 years ago

Thank you. I will

El mar., 27 nov. 2018 14:41, shabbirbharmal notifications@github.com escribió:

Please review updated readme on github. We are trait instead of Arsenaltech\NovaTab\Resource

Add the Tabs trait to your App\Nova\Resource class.

`use Arsenaltech\NovaTab\Tabs;

abstract class Resource extends NovaResource { use Tabs;`

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arsenaltech/nova-tab/issues/23#issuecomment-442082217, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBYLS9NKesdyVRM4YK2FBoVfggDW3YQks5uzU8ngaJpZM4Y1e3B .