#Creating a resource but is not appearing in navigation menu

7 messages · Page 1 of 1 (latest)

rigid spruce
#

20 minutes ago i have installed Filament.
Recompiled assets. Cleared Browser cache.
Run:
php artisan make:filament-resource Users --generate --soft-deletes

Resources has been created, and in place.

IN docs:
Have you created a resource, but it's not appearing in the navigation menu? If you have a model policy, make sure you return true from the viewAny() method.

I dont have any Policies created.

Dashboard panel does not have any other menu except Dashboard

In AdminPanelProvider all is as per default, i have no changes there.

Dashboard /admin looks like screenshot, no menu a side.

I tried one from FIlament exmaple - php artisan make:filament-resource Customer --simple

Same result.

Stack i am on is in screenshot:
Latest laravel, livewire and filament.

echo smeltBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

kind sluice
#

i got the same issue. did you find any solution?

rigid spruce
#

no. i deleted project, and created new one and worked. world is full of misteries.

timber urchin
#

Have you tried to clear cache, views, etc..? With php artisan optimize:clear?

icy fractal
#

Also try to run php artisan filament:optimize-clear

rigid spruce
#

all of those suggestions i have tried, and nothing worked, i did not see the menu item. But maybe will work for @kind sluice i hope/