Ziggy cannot resolve routes in SSR #670
Replies: 2 comments
-
You're configuring Ziggy in several different ways and you only need one. I don't use SSR so I'm not positive which way is best, but I can suggest a few things:
Can you also share exactly where and how you're actually calling |
Beta Was this translation helpful? Give feedback.
-
I've encountered this same issue. I fixed it by removing the
And then sharing ziggy through our
When ziggys router is constructed this config is used Line 17 in cd1ebc7 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using Jetstream as an starter kit. I have painfully resolved the route not found error by using the auto-import plugin.
Now Ziggy is not able to read routes.
I have routes defined in web.php and
about.index
is one of them.Error: TypeError: Cannot read properties of undefined (reading 'about.index')
HandleInertiaRequests
vite.config.js
ssr.js
Beta Was this translation helpful? Give feedback.
All reactions