Skip to content

Resources not showing up in menu #15882

Open
Open
@GenieRobot

Description

@GenieRobot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions