eighty9nine / filament-excel-import

Import data into your resource from excel
MIT License
40 stars 11 forks source link

I am getting error after installation. #4

Closed jiten14 closed 8 months ago

jiten14 commented 8 months ago

I followed your guide as described, I am getting following Error. Please help me.

Class "App\Filament\Resources\UserResource\Pages\EightyNine\ExcelImport\ExcelImportAction" not found

jiten14 commented 8 months ago

namespace App\Filament\Resources\UserResource\Pages;

use App\Filament\Resources\UserResource;

use Filament\Actions;

use Filament\Resources\Pages\ListRecords;

class ListUsers extends ListRecords

{

protected static string $resource = UserResource::class;

protected function getHeaderActions(): array

{

    return [

        EightyNine\ExcelImport\ExcelImportAction::make()

            ->color("primary"),

        Actions\CreateAction::make(),

    ];

}

}

abewartech commented 5 months ago
\EightyNine\ExcelImport\ExcelImportAction::make()
                ->color("primary"),

add \ in the front EightyNine