resource not displaying on sidebar
hello.
i create a resource with this cmd:
but it is not displaying on sidebar. i added this function in my resource file
what should i do
i create a resource with this cmd:
php artisan make:filament-resource Customer --generatebut it is not displaying on sidebar. i added this function in my resource file
but still not working.public static function canViewAny(): bool { return true; }
what should i do
Solution
Please provide more info about your project, if you did some customizations
If you are using cache, you need to clear it https://filamentphp.com/docs/3.x/panels/installation#caching-filament-components
If you are using cache, you need to clear it https://filamentphp.com/docs/3.x/panels/installation#caching-filament-components