F
Filament17mo ago
Skjena

After updating to filament v3, resources are not shown.

My project has been updated to filament version 3, which displays only the getNavigationGroup but not the resources.
Solution:
1) Check whether you have the permissions 2) Did you run artisan filament:upgrade? 3) Do you have published view files?...
Jump to solution
10 Replies
Skjena
SkjenaOP17mo ago
It looks like this.
LeandroFerreira
LeandroFerreira17mo ago
Are you using pages and resources in the app/Filament folder?
Skjena
SkjenaOP17mo ago
yes
Skjena
SkjenaOP17mo ago
This is how my folder structure looks.
LeandroFerreira
LeandroFerreira17mo ago
what about $panel->discoverResources()?
Skjena
SkjenaOP17mo ago
It already there
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->pages([
Pages\Dashboard::class,
])
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->pages([
Pages\Dashboard::class,
])
Solution
Dennis Koch
Dennis Koch17mo ago
1) Check whether you have the permissions 2) Did you run artisan filament:upgrade? 3) Do you have published view files?
Skjena
SkjenaOP17mo ago
Yeah, I got that I have executed the composer update but not the artisan filament:upgrade command. Thank you @Dennis Koch
Dennis Koch
Dennis Koch17mo ago
Please add it to you composer after update script as mentioned in the docs.
Skjena
SkjenaOP17mo ago
Yes, I've already added.

Did you find this page helpful?