useServerSeoMeta

Source
The useServerSeoMeta composable lets you define your site's SEO meta tags as a flat object with full TypeScript support.
useServerSeoMeta is deprecated. Wrap useSeoMeta in an if (import.meta.server) block instead. The auto-import is removed under future.compatibilityVersion: 5.

useServerSeoMeta lets you define your site's SEO meta tags as a flat object with full TypeScript support, exactly like useSeoMeta, but it only runs server-side and is tree-shaken from the client bundle.

Read more in Docs > 4 X > API > Composables > Use Seo Meta.

For new code, use the server-only pattern directly:

app/app.vue
<script setup lang="ts">
if (import.meta.server) {
  useSeoMeta({
    robots: 'index, follow',
  })
}
</script>

Parameters are exactly the same as with useSeoMeta.

Read more in Docs > 4 X > Getting Started > Seo Meta.