Add parameter to <Head> component to allow replacing server-side elements #2209
GarethSomers
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Laravel site using Inertia JS + Vue, no SSR (though soon to be added). When we serve a page we want to include title and meta tags serverside (to play nice with social media sharing), and then use Inertia's Vue Head Component to also serve these elements (on render + consecutive page XHR loads).
Currently "The component will only replace elements that are not in your server-side root template." I can't replace these on those consecutive loads.
Can we add a parameter to the Head component which would facilitate this ?
Beta Was this translation helpful? Give feedback.
All reactions