Custom Page with URL parameters
I made a custom page with artisan make:filament-page but how to allow parameters like in web/routes.php where you can have somehing like this /example/{$id}. Also my page is not linked to any resource. I tried to add protected static ?string $slug = '/example/{$id}'; to my page class but then I get 404 error.
Solution:Jump to solution
```php
//routes/web.php
Route::get('/admin/example/{id}', ExamplePage::class);
//ExamplePage...
2 Replies
Solution
Thanks alot! It is working π