import { useSSRContext, toValue, type MaybeRefOrGetter } from 'vue'; export default function useHead(params: { title: MaybeRefOrGetter, }) { const context = useSSRContext(); if (context) { context.meta ??= { title: toValue(params.title), meta: {}, }; } }