Replies: 1 comment
-
I found the solution. In ssr.js now I have just:
In HandleInertiaRequests.php:
|
Beta Was this translation helpful? Give feedback.
0 replies
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 trying to do active class on menu items using
route().current('posts.*')
.If SSR is off works fine.
If SSR is on and JS in browser is enabled works fine.
If SSR is on and JS in browser is disabled doesn't work.
Am I do something wrong guys?
Btw I'm using inertia with laravel & vue.
In HandleInertiaRequests I have
ziggy' => (new Ziggy)->toArray()
.In
ssr.js
:Beta Was this translation helpful? Give feedback.
All reactions