Side Navigation parent navigation item not working

Hello. Not sure what I'm doing wrong.

I create a custom page for a resource using this command
php artisan make:filament-page ImportTemplate --resource=TemplateResource --type=custom

It created all the files needed.

Inside my template resource I have:

protected static ?string $navigationLabel = 'Templates';

protected static ?string $navigationGroup = 'Templates';

inside my Resources/TemplateResource/Pages/ImportTemplate.php


protected static ?string $navigationLabel = 'Import';
protected static ?string $navigationGroup = 'Templates';
protected static ?string $navigationParentItem = 'Templates';

But my navigation only shows "Templates" as the group then "Templates" as the one link. "Import" is not showing.

Wondering if its because I made it like the way I did.

I have the latest Filament 3 version.
Was this page helpful?