FilamentF
Filament2y ago
btx

New Custom Page 404

Hi,
I created a new custom page (the first one) in my project using php artisan make:filament-page QueueDashboard.
However the page is not reachable, and not showing up in the sidebar. Using route:list shows the route
GET|HEAD   admin/queue-dashboard .............................................................................................................................................................................................................. filament.admin.pages.queue-dashboard › App\Filament\Pages\QueueDashboard

But when I call /admin/queue-dashboard, I get 404. Whats wrong ?? 😓

The Class has the following content:
<?php

namespace App\Filament\Pages;

use Filament\Pages\Page;

class QueueDashboard extends Page {
   protected static ?string $navigationIcon = 'heroicon-o-document-text';

   protected static string $view = 'filament.pages.queue-dashboard';

   protected ?string $heading = 'Custom Page Heading';

   protected static ?string $navigationLabel = 'Custom Navigation Label';

   public static function canAccess(): bool {
      return true;
   }
}
Was this page helpful?