Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resources not showing up in menu #15882

Open
GenieRobot opened this issue Mar 17, 2025 · 2 comments
Open

Resources not showing up in menu #15882

GenieRobot opened this issue Mar 17, 2025 · 2 comments
Labels
Milestone

Comments

@GenieRobot
Copy link

Package

filament/filament

Package Version

^3.2

Laravel Version

v12

Livewire Version

No response

PHP Version

8.4.3

Problem description

I'm trying to follow this tutorial:
https://laracasts.com/series/rapid-laravel-development-with-filament/episodes/2

so I created some models using Blueprint and then some resources using

php artisan make:filament-resource Customer --generate

and nothing shows up in the menu. The files are all there but nothing happens on the website. Docs say there might be some policy in effect but I didn't define any policies, nor did I find any in the app. I'm pretty new to Laravel so please tell me where to look for that. Also, adding

protected static bool $shouldSkipAuthorization = true;

to the CustomerResource.php didn't change anything/ Is the tutorial outdated or what?

Expected behavior

As in the video, run the generate command, immediately see the result on the website

Steps to reproduce

Follow the tutorial mentioned above. I did exactly that.

Reproduction repository (issue will be closed if this is not valid)

https://github.com/pixelhoch/rb02-filament

Relevant log output

C:\Users\user\Herd\rb02-filament>php artisan make:filament-resource User --generate

   INFO  Filament resource [C:/Users/badde/Herd/rb02-filament/app/Filament/Resources/UserResource.php] created successfully.
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Mar 17, 2025
@danharrin danharrin added this to the v3 milestone Mar 20, 2025
@jigsawsoul
Copy link

I have the same issue. Created a new resource as per the docs. The resource does not appear within the menu or the resource accessible via the url

@leandrocfe
Copy link
Contributor

I have the same issue. Created a new resource as per the docs. The resource does not appear within the menu or the resource accessible via the url

If you are optimizing filament, you should run php artisan filament:optimize-clear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

4 participants