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
{{ message }}
Repository navigation
headTags are empty when using pipeToWebWritable #27
Isn't that just regular SSR? My understanding of the Vue rendering stream is that it's sending chunks as they are rendered so the head data would need to be appended as it's rendered, which it isn't for performance reasons.
Activity
[-]Headtags are empty when using `pipeToWebWritable`[/-][+]`headTags ` are empty when using `pipeToWebWritable`[/+]harlan-zw commentedon Dec 1, 2022
Hey @daliborgogic
Thanks for the issue.
I'm not entirely sure how to solve this, as head tags are written as the Vue app is rendered. Do you have any ideas?
[-]`headTags ` are empty when using `pipeToWebWritable`[/-][+]`headTags` are empty when using `pipeToWebWritable`[/+]daliborgogic commentedon Dec 14, 2022
@harlan-zw For now no idea. Will check what we can and what we can with
hooks. You can close this issue. If we found a solution we will make a PR.bukandicki commentedon Dec 27, 2022
have you tried this code @daliborgogic @harlan-zw ?
I had the same case, then I was able to solve it by changing the order, first
renderToStringthenrenderSSRRHeadharlan-zw commentedon Dec 27, 2022
Isn't that just regular SSR? My understanding of the Vue rendering stream is that it's sending chunks as they are rendered so the head data would need to be appended as it's rendered, which it isn't for performance reasons.
daliborgogic commentedon Apr 10, 2023
@harlan-zw yes, it's regular SSR. You are right. Workaround until there is a better way
harlan-zw commentedon Sep 7, 2024
Going to track here #396 which is part of the v2 roadmap.