Invalid route action: [App\Filament\Auth\AdminLogin]. after running php artisan filament:optimize
So i currently developing this locally and run php artisan filament:optimize in order minimize latency cause i have a demo tomorrow, but now it shown an error which it cannot detect my custom login page ? whats the possible solution to this?
6 Replies
just clear the cache with
php artisan filament:optimize-clear
In many projects I create two simple laravel commands for both optimizing and clearing caches
For caching and optimizing:
for clearing caches and optimizations:
hello whats the file name for both of those? im new to laravel
i copy your code and return error and they are not cached
nevermind i moved the auth folder to App\Pages then it fixed itself, now everything is working and snappy, thank you!
Solution
check your file namespace
i already did its fixed now