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
Some tags are appended (eg: <script> or <link>) if missing
_head.json
The _head.json metadata file is what fetchHeadTags requests. It's generated for every pre-rendered path at build time, and it can also be generated for on-demand routes.
fetch("/users/1234/_head.json")
The text was updated successfully, but these errors were encountered:
Each page has its
<head>
tags parsed and provided via theheadTags
export ofsaus/client
.The
fetchHeadTags
helper returns a promise that resolves to an array of head tags, like this:Then you can use the
applyHeadTags
helper to update the DOM with them.<title>
) when defined<script>
or<link
>) if missing_head.json
The
_head.json
metadata file is whatfetchHeadTags
requests. It's generated for every pre-rendered path at build time, and it can also be generated for on-demand routes.The text was updated successfully, but these errors were encountered: