© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Cushty

Share a resource with new panel

Hi what is the best way to pull in a specifice resource in my user panel? I have an admin and user panel, the admin uses all resourses as default, but I am not sure how to just grab one resource that has been setup and used in admin panel.
i can use this in user panel:

 ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
 ->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')


but it grabs all resources. Thanks
Solution
You can specify specific resources for the panel with ->resources([Resource::class])
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Moving resource in a new panel
FilamentFFilament / ❓┊help
3y ago
Multiple Panel Resource
FilamentFFilament / ❓┊help
3y ago
How to share a resource infolist
FilamentFFilament / ❓┊help
11mo ago
Share validation rules with api resource controllers
FilamentFFilament / ❓┊help
2y ago