Ophan
Ophan
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
So in the end, it was a route collision conflict with the Laravel welcome route, which to be honest I forgot about it completely. My bad. Thanks for the help!
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
okay! I found the error after trying a lot of different things! I write the solution here just in case it helps someone in the future. As this is a new installation of Laravel, I forgot to remove the welcome route that was on path /, so this was the thing causing the error.
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
Yeah, didn't make much sense, that's why I was thinking about missing some steps or points as I'm new with Filament and this is the first time I use it. But after reading all the documentation and being sure to clear all cache, I sent this message here.
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
Symfony\Component\Routing\Exception\RouteNotFoundException Route [filament.dashboard.pages.dashboard] not defined.
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
just run it again, just in case, same problem
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
btw return $panel ->default() ->id('dashboard') ->path('') ->domain(config('dashboard_domain')) // Subdomain
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
I only have one panel, is a fresh installation of Laravel and Filament. I just installed Laravel, just installed Fillament with an id of "dashboard", then I created a user from the console, I tried the route localhost.test/dashboard/login with success, and then I changed the path('') from path('dashboard') to path(''). After this, I added the domain('dashboard.localhost.test'), but this last step didn't matter, because the non-existing view problem appeared since I let the path blank.
19 replies
FFilament
Created by Ophan on 2/24/2025 in #❓┊help
Cannot load routes if path('') is empty
I already have the routes under a domain ->domain('dashboard.localhost.test') in my case, that's why I'm using the ->path(''). I tried everything cache-related.
19 replies