Closed overclocked555 closed 10 months ago
Ziggy (like Laravel's route()
function) deals with named routes. Routes without names will be ignored. Adding ->name('home')
, ->name('contacts')
, and ->name('products')
to those routes will fix this for you.
Ziggy version
v1.8.1
Laravel version
v10.34.2
Description
Ziggy ignores web.php routes in my project The command
php artisan ziggy:generate
does not create routescontacts
andproducts
: inresources\js\ziggy.js
I also ran these commands:The project also has the following packages installed:
Ziggy call and context
Ziggy configuration
Route definition