Is it an error or missing class?

Hi, folks! I am trying to do a custom page, using the following Artisan command: sail php artisan make:filament-page NoResourcePage --type=custom The file created was NoResoursePage.php, inside the App\Filament\Resources\NoResource\Pages folder.
<?php

namespace App\Filament\Resources\NoResource\Pages;

use App\Filament\Resources\NoResource;
use Filament\Resources\Pages\Page;

class NoResourcePage extends Page
{
protected static string $resource = NoResource::class;

protected static string $view = 'filament.resources.no-resource.pages.no-resource-page';
}
<?php

namespace App\Filament\Resources\NoResource\Pages;

use App\Filament\Resources\NoResource;
use Filament\Resources\Pages\Page;

class NoResourcePage extends Page
{
protected static string $resource = NoResource::class;

protected static string $view = 'filament.resources.no-resource.pages.no-resource-page';
}
As you can see in the attached pictures, I can't find the NoResouce class . Do you know if it is an error in the artisan command? Thank you!
No description
No description
1 Reply
Vp
Vp14mo ago
When prompt "Would you like to create the page inside a resource?" You have to provide your actual resource, not "NoResource" Otherwise leave it blank
Want results from more Discord servers?
Add your server