Currently working on a project with Laravel Nova, it generates a lot of routes with many route name collisions that breaks the generated param.ts
params.ts
One solution that works for us is to modify the php artisan route:list --json call to include --except-vendor
--except-vendor Do not display routes defined by vendor packages
Have added it here as an extra option, and seems like it might be a sane default given that the other vendored routes I've come across (examples below) don't seem like ones that would typically be utilised (e.g. DebugBar, Laravel Dusk, Laravel Ignition)
Currently working on a project with Laravel Nova, it generates a lot of routes with many route name collisions that breaks the generated param.ts
params.ts
One solution that works for us is to modify the
php artisan route:list --json
call to include--except-vendor
Have added it here as an extra option, and seems like it might be a sane default given that the other vendored routes I've come across (examples below) don't seem like ones that would typically be utilised (e.g. DebugBar, Laravel Dusk, Laravel Ignition)