Replies: 1 comment 1 reply
-
Sorry, missed this. Not sure if it was in the Readme when you posted this but it's there now: https://github.com/tighten/ziggy?tab=readme-ov-file#vue. Unfortunately the only way to make |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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