You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run my project with swoole, but I'm getting an error in ziggy js. It works fine for the first couple of requests, but then it starts giving the following error.
Ziggy call and context
Iadded @routesdeclarationintoblade.php
Ziggy configuration
Whenirunconsole.log(Ziggy),error"Uncaught ReferenceError: Ziggy is not defined"appears.
Route definition
The error is not related to the route definitions.
The text was updated successfully, but these errors were encountered:
Ah never mind, just saw you're on Laravel 5.7. You'll need to reset the internal 'generated' state at the beginning of each request. Take a look at #415 to see how we're doing that for Octane—it should be as simple as BladeRouteGenerator::$generated = false; at the very beginning of each new request cycle. Let me know if that works for you!
Ziggy version
1.3.4
Laravel version
5.7.29
Description
I'm trying to run my project with swoole, but I'm getting an error in ziggy js. It works fine for the first couple of requests, but then it starts giving the following error.
Ziggy call and context
Ziggy configuration
Route definition
The error is not related to the route definitions.
The text was updated successfully, but these errors were encountered: