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 using Laravel 11, InertiaJS SSR, Breeze Starter Kit, Vue3, and Ziggy. I'm also using persistent Vue layouts using defineOptions.
I'm having trouble using Ziggy in SSR mode the way I was before transitioning my app to SSR. Specifically, I can't find a straightforward implementation to get route() available in my setup scripts. I would have expected better documentation around this as I haven't strayed much from the mainstream laravel stacks. I've found a lot of old dated conversations about setups in Mix, but nothing current and nothing in any official documentation.
Is there a good way to do this without being forever plagued by: ReferenceError: route is not defined
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using Laravel 11, InertiaJS SSR, Breeze Starter Kit, Vue3, and Ziggy. I'm also using persistent Vue layouts using defineOptions.
I'm having trouble using Ziggy in SSR mode the way I was before transitioning my app to SSR. Specifically, I can't find a straightforward implementation to get route() available in my setup scripts. I would have expected better documentation around this as I haven't strayed much from the mainstream laravel stacks. I've found a lot of old dated conversations about setups in Mix, but nothing current and nothing in any official documentation.
Is there a good way to do this without being forever plagued by: ReferenceError: route is not defined
Beta Was this translation helpful? Give feedback.
All reactions