JSON-LD with Vue3 and SSR #2985
-
|
Hello, A previous discussion from 2023 addressed this issue and it appeared to be resolved in v1.x, but it no longer seems to work. Regardless of what I try, I cannot get json+ld scripts to render server-side inside the head when JS is disabled. Everything else renders correctly via SSR, but <script> tags within still appear to be handled client-side only. The only workaround I've found is placing them in the body using v-html instead of relying on . InertiaJS + SSR + SEO has been a persistent source of friction for me over the past few months. Any help or guidance would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've been using this snippet from late v1 -> v3, haven't had an issue with it. |
Beta Was this translation helpful? Give feedback.
I've been using this snippet from late v1 -> v3, haven't had an issue with it.