Nuxt 3 SEO Checklist: useSeoMeta, SSR and Sitemaps (2026)

A Nuxt 3 SEO checklist: useSeoMeta and useHead, SSR versus hybrid rendering, sitemaps, canonical URLs and structured data, with working code for each step.

· BugViso Team

15 min read

Nuxt 3 SEO comes down to six things: server-render the pages you want indexed, set titles and meta with useSeoMeta, set a canonical site.url, generate a sitemap, add JSON-LD, and verify the rendered HTML. Nuxt's Nitro server makes each one straightforward, but a misconfigured composable or a global ssr: false quietly undoes it.

The checklist below covers each item with the config and code to use, plus the mistakes that break indexing most often. For the underlying rendering model, see the JavaScript SEO basics guide; if you run plain Vue without Nuxt, read Vue.js SEO: SSR vs prerendering.


The Nuxt 3 & Nitro SEO Architecture

Nuxt 3 combines Vue 3's reactive component system with the high-performance Nitro server engine, offering unmatched flexibility in how pages are rendered and served to search engines:

Nuxt 3 & Nitro Server Seo Pipeline

  • INCOMING SEARCH CRAWLER (Googlebot / OAI-SearchBot)
  • NITRO ENGINE (Universal SSR / Hybrid Route Rules)
  • nuxt.config.ts (Global metadataBase, OpenGraph site name, Modules)
  • routeRules (Granular per-route caching: ISR, SWR, Static, or SSR)
  • @nuxtjs/sitemap (Automated dynamic XML sitemap generation)
  • @nuxtjs/robots (RFC-9309 AI bot permissions & /llms.txt)
  • SERVER-RENDERED VUE PAYLOAD → Pre-rendered HTML + useSeoMeta + JSON-LD
  • CLIENT HYDRATION → Interactive Vue Components

1. Nitro Hybrid Rendering and Per-Route Rules

Unlike monolithic frameworks that force a single rendering strategy across your entire application, Nuxt 3's Nitro engine allows you to declare granular routeRules in nuxt.config.ts. You can serve static marketing pages via Incremental Static Regeneration (ISR), dynamic product pages via edge Server-Side Rendering (SSR), and private admin dashboards as client-side SPAs.

This per-route control gives search engines pre-rendered HTML on public marketing routes and spares origin server CPU on private or authenticated paths.

Nitro also supports multi-platform deployments—running across Vercel Edge, Cloudflare Workers, Node.js Docker containers, and AWS Lambda with identical SEO behavior. Remix takes a different route with parallel nested loaders; our Remix SEO guide measures what that does to TTFB.

2. Universal Server-Side Rendering (SSR) by Default

Nuxt 3 enables Universal SSR by default. When search engine bots request a URL, the Nitro engine compiles Vue components into semantic HTML on the server and delivers complete HTML in the first HTTP response, so Googlebot and AI retrieval engines can read the content without a render step, subject to the access rules in RFC 9309 Robots Exclusion Protocol.

When Googlebot, Bingbot or AI crawlers (such as OpenAI's OAI-SearchBot and GPTBot or Perplexity's PerplexityBot) request a Nuxt 3 route, the server runs data fetching hooks (useAsyncData, useFetch) before it sends the initial HTML. The search crawler immediately parses the complete text, headings, structured data, and navigation links, completely bypassing deferred rendering queues.


The Master 10-Point Nuxt 3 Technical SEO Checklist

Review this complete, production-tested checklist before deploying any Nuxt 3 web application to production:

The 10-Point Nuxt 3 Seo Checklist

    1. GLOBAL NUXT CONFIG → Define site URL, global meta & SEO modules.
    1. useSeoMeta COMPOSABLE > Type-safe page titles, descriptions & OpenGraph.
    1. NITRO ROUTE RULES → Configure ISR, SWR, and static caching rules.
    1. CANONICAL & HREFLANG → Automated absolute canonicals & @nuxtjs/i18n.
    1. DYNAMIC SITEMAPS → Deploy @nuxtjs/sitemap with multi-source routes.
    1. AI ROBOTS DIRECTIVES → Configure @nuxtjs/robots with RFC-9309 AI rules.
    1. SCHEMA.ORG JSON-LD → Inject structured data with nuxt-schema-org.
    1. ZERO-CLS IMAGES → Optimize visual assets with @nuxt/image.
    1. ZERO-LAYOUT FONTS → Self-host typography with @nuxt/fonts.
    1. VUE HYDRATION QA → Eliminate console errors & client-server mismatches

Step 1: Configure Global Site Metadata in nuxt.config.ts

The foundational step in any Nuxt 3 project is defining global site properties in nuxt.config.ts. By configuring site properties through @nuxtjs/seo or nuxt-site-config, Nuxt automatically ensures that canonical URLs, OpenGraph preview cards, Twitter cards, and sitemaps resolve to your canonical domain without hardcoded strings:

typescript
// nuxt.config.ts
export default defineNuxtConfig({
  site: {
    url: process.env.NUXT_PUBLIC_SITE_URL || 'https://example.com',
    name: 'Acme SaaS',
    description: 'Enterprise website auditing and automated web quality assurance.',
    defaultLocale: 'en',
  },
  modules: [
    '@nuxtjs/seo',
    '@nuxt/image',
    '@nuxt/fonts',
    '@nuxtjs/robots',
    '@nuxtjs/sitemap',
    '@nuxtjs/i18n',
  ],
  app: {
    head: {
      htmlAttrs: { lang: 'en' },
      charset: 'utf-8',
      viewport: 'width=device-width, initial-scale=1',
    },
  },
});

Declare htmlAttrs: { lang: 'en' } at the root configuration level. Every pre-rendered page then states its primary language, which supports WCAG accessibility standards and search engine localization signals.


Step 2: Implement Type-Safe Metadata with useSeoMeta

Nuxt 3 provides the useSeoMeta composable, offering full TypeScript autocompletion, reactive getters, and automatic XSS sanitization. Unlike legacy <Head> components where typos in property="og:image" could break social cards unnoticed, useSeoMeta validates every metadata key at compile time:

vue
<!-- pages/blog/[slug].vue -->
<script setup lang="ts">
const route = useRoute();
const slug = route.params.slug as string;

// Fetch server-side post data
const { data: post } = await useFetch(`/api/posts/${slug}`);

if (!post.value) {
  throw createError({ statusCode: 404, statusMessage: 'Post Not Found', fatal: true });
}

// Declare type-safe SEO and OpenGraph metadata
useSeoMeta({
  title: () => `${post.value.title} | Acme SaaS Blog`,
  description: () => post.value.excerpt,
  ogTitle: () => post.value.title,
  ogDescription: () => post.value.excerpt,
  ogImage: () => post.value.coverImage || '/default-og.png',
  ogType: 'article',
  twitterCard: 'summary_large_image',
  articlePublishedTime: () => post.value.publishedAt,
  articleAuthor: () => [post.value.authorName],
});
</script>

<template>
  <article>
    <h1>{{ post.title }}</h1>
    <div v-html="post.contentHtml" />
  </article>
</template>

Using functions (() => ...) inside useSeoMeta ensures that metadata properties remain reactive, updating automatically if underlying post data changes without triggering client-side memory leaks.


Step 3: Configure Granular Nitro Hybrid routeRules

Nitro's routeRules allow you to apply tailored rendering and caching strategies across different route segments, optimizing both server performance and search crawlability:

typescript
// nuxt.config.ts
export default defineNuxtConfig({
  routeRules: {
    // 1. Static marketing pages cached at CDN edge
    '/': { prerender: true },
    '/pricing': { prerender: true },
    
    // 2. Blog posts cached via Incremental Static Regeneration (ISR: 1 hour)
    '/blog/**': { isr: 3600 },
    
    // 3. Dynamic search API routes served via SWR
    '/api/**': { swr: true, cors: true },
    
    // 4. Private dashboard routes rendered client-side only (Save server CPU!)
    '/dashboard/**': { ssr: false },
    
    // 5. Permanent 301 redirects for legacy URLs
    '/old-pricing': { redirect: { to: '/pricing', statusCode: 301 } },
  },
});

Set ssr: false on authenticated /dashboard/** routes so your servers do not render private interfaces. Set isr: 3600 on /blog/** routes for sub-50ms TTFB responses to search crawlers.


Step 4: Automate Canonical URLs and Hreflang with @nuxtjs/i18n

For multi-language applications, configure the official @nuxtjs/i18n module to automatically manage localized sub-paths and inject <link rel="alternate" hreflang="..."> tags into the document head:

typescript
// nuxt.config.ts (i18n Configuration)
export default defineNuxtConfig({
  i18n: {
    baseUrl: 'https://example.com',
    defaultLocale: 'en',
    strategy: 'prefix_except_default',
    locales: [
      { code: 'en', iso: 'en-US', name: 'English' },
      { code: 'de', iso: 'de-DE', name: 'Deutsch' },
      { code: 'fr', iso: 'fr-FR', name: 'Français' },
    ],
  },
});

The @nuxtjs/i18n module automatically generates self-referencing canonical links and creates the x-default fallback directive, preventing duplicate content penalties and routing international users to their localized language edition.


Step 5: Deploy Automated Dynamic Sitemaps (@nuxtjs/sitemap)

Configure multi-source XML sitemap generation to automatically discover dynamic blog and product routes from your CMS or database:

typescript
// nuxt.config.ts
export default defineNuxtConfig({
  sitemap: {
    sources: [
      '/api/__sitemap__/urls', // Dynamic endpoint returning array of dynamic URLs
    ],
    defaults: {
      changefreq: 'weekly',
      priority: 0.8,
      lastmod: new Date(),
    },
    exclude: [
      '/dashboard/**',
      '/admin/**',
      '/api/**',
    ],
  },
});

Query an internal API endpoint (/api/__sitemap__/urls) and the sitemap updates whenever new articles or product SKUs are published in your CMS. Googlebot then discovers fresh URLs without a manual sitemap rebuild.


Step 6: Configure Modern Robots.txt Directives (@nuxtjs/robots)

Declare crawler permissions that comply with RFC 9309 Robots Exclusion Protocol, granting explicit access to conversational AI search retrieval bots:

typescript
// nuxt.config.ts
export default defineNuxtConfig({
  robots: {
    groups: [
      {
        userAgent: ['*'],
        allow: ['/'],
        disallow: ['/dashboard/', '/admin/', '/api/'],
      },
      {
        userAgent: ['GPTBot', 'ClaudeBot', 'PerplexityBot'],
        allow: ['/', '/blog/', '/docs/'],
        disallow: ['/private/'],
      },
    ],
    sitemap: ['https://example.com/sitemap.xml'],
  },
});

Allowing OAI-SearchBot, Claude-SearchBot and PerplexityBot lets AI search engines crawl your documentation and cite it in their answers. GPTBot and ClaudeBot only collect training data, so allow or block them as a separate decision.


Step 7: Inject Schema.org Structured Data with nuxt-schema-org

Structured data allows search engines to display rich snippets (breadcrumbs, article dates, product ratings) in search results:

vue
<!-- components/ArticleSchema.vue -->
<script setup lang="ts">
const props = defineProps<{
  title: string;
  description: string;
  publishedAt: string;
  authorName: string;
}>();

useSchemaOrg([
  defineArticle({
    headline: props.title,
    description: props.description,
    datePublished: props.publishedAt,
    author: {
      name: props.authorName,
    },
  }),
  defineBreadcrumb([
    { name: 'Home', item: '/' },
    { name: 'Blog', item: '/blog' },
    { name: props.title },
  ]),
]);
</script>

Injecting structured data via useSchemaOrg ensures Schema.org syntax is validated at compile time, eliminating malformed JSON-LD syntax errors that prevent Google from displaying rich snippets.


Step 8: Zero-CLS Responsive Images with @nuxt/image

Adhere to Google Search Central Core Web Vitals documentation by serving modern WebP/AVIF formats with explicit dimensions:

vue
<!-- components/OptimizedHero.vue -->
<template>
  <NuxtImg
    src="/hero-banner.png"
    alt="Nuxt 3 Technical SEO Architecture"
    width="1200"
    height="630"
    format="webp"
    loading="eager"
    fetchpriority="high"
    sizes="xs:100vw sm:100vw md:1200px"
  />
</template>

Using <NuxtImg> automatically generates responsive srcset attributes and compresses images on-demand, preventing heavy images from delaying Largest Contentful Paint (LCP).


Step 9: Zero-Layout-Shift Fonts with @nuxt/fonts

Install and configure @nuxt/fonts to automatically download, inline, and self-host web fonts at build time, eliminating external render-blocking font requests:

typescript
// nuxt.config.ts
export default defineNuxtConfig({
  fonts: {
    families: [
      { name: 'Inter', provider: 'google' },
    ],
  },
});

Self-hosting fonts at build time eliminates third-party connection overhead to Google Fonts, reducing layout shift (CLS) and speeding up First Contentful Paint.


Step 10: Eliminate Vue Client-Server Hydration Mismatches

Hydration mismatches in Vue 3 force the browser to discard server-rendered HTML and perform expensive client re-renders. Avoid accessing window or localStorage during component setup:

vue
<!-- components/UserGreeting.vue (FIXED HYDRATION) -->
<script setup lang="ts">
const isMounted = ref(false);
const userName = ref('Guest');

onMounted(() => {
  isMounted.value = true;
  userName.value = localStorage.getItem('user_name') || 'Friend';
});
</script>

<template>
  <div>
    <!-- Server & Client render identical 'Welcome, Guest' during initial parse -->
    <span v-if="!isMounted">Welcome, Guest</span>
    <span v-else>Welcome, {{ userName }}</span>
  </div>
</template>

By ensuring that the initial render output matches between server and client, Vue attaches event listeners without blocking the main browser thread.

Related guides: JavaScript SEO basics, what is INP and how to fix it, and canonical tags how to avoid duplicate content.


Advanced Nitro Edge Caching Strategies for Global TTFB

To achieve world-class Time to First Byte (TTFB < 50ms) across global points of presence, engineering teams configure Nitro's edge caching headers and stale-while-revalidate directives:

Nitro Edge Cdn Caching Architecture

  • A user or bot request reaches the nearest CDN edge location
    • The edge serves a cache hit, which keeps TTFB low
  • BACKGROUND REVALIDATION (SWR)
  • Edge returns stale HTML instantly to Googlebot.
  • Nitro serverless function executes in background to refresh cached asset.
  • Cache-Control: public, max-age=0, s-maxage=3600, stale-while-revalidate=86400

Configuring Stale-While-Revalidate Headers in Nitro

By configuring stale-while-revalidate caching in routeRules, Nitro instructs global CDN edge proxies (such as Cloudflare, Fastly, or Vercel Edge) to serve cached HTML snapshots to search engine crawlers with near-zero latency while revalidating expired content asynchronously in the background:

typescript
// server/plugins/cacheHeaders.ts
export default defineNitroPlugin((nitroApp) => {
  nitroApp.hooks.hook('render:response', (response, { event }) => {
    if (event.node.req.url?.startsWith('/blog/')) {
      response.headers = {
        ...response.headers,
        'Cache-Control': 'public, max-age=0, s-maxage=3600, stale-while-revalidate=86400',
      };
    }
  });
});

Dynamic OpenGraph Social Image Generation with nuxt-og-image

Social preview images directly influence click-through rates on social platforms and conversational AI search citations. Nuxt 3 supports dynamic, vector-crisp OpenGraph image generation using the official nuxt-og-image module:

typescript
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-og-image'],
});

Building Dynamic OpenGraph Templates in Vue

You can design OpenGraph social images using standard Vue components (components/OgImage/ArticleOg.vue). Nuxt compiles the template to a 1200x630 PNG image on the server using Satori or headless Chromium:

vue
<!-- components/OgImage/ArticleOg.vue -->
<script setup lang="ts">
defineProps<{
  title: string;
  excerpt: string;
}>();
</script>

<template>
  <div class="w-full h-full bg-slate-900 text-white p-20 flex flex-col justify-between">
    <div class="text-sky-400 font-bold text-2xl">ACME SAAS NUXT 3 LABS</div>
    <div class="text-5xl font-extrabold leading-tight">{{ title }}</div>
    <div class="text-slate-400 text-xl">{{ excerpt }}</div>
  </div>
</template>

Complete Nuxt 3 Pre-Launch SEO Audit Matrix

Before deploying your Nuxt 3 application to production, execute this technical verification matrix across staging preview environments:

SEO Verification CategoryCritical Check ItemImplementation MethodSuccess Criteria
Site MetadataProduction canonical domainnuxt.config.ts (site.url)Resolves to absolute HTTPS domain with zero trailing slash mismatches
Page Titles & MetaUnique title & meta descriptionsuseSeoMeta() in route pagesTitle <60 chars, description 150–160 chars with zero template variables
Social ProtocolsDynamic OpenGraph & Twitter cardsnuxt-og-image & useSeoMeta()1200x630 PNG renders with 200 OK across Facebook & Twitter debuggers
Server RenderingUniversal SSR on public routesNitro routeRules (ssr: true)Raw curl response contains the semantic HTML body text and headings
Internal LinkingSemantic anchor navigation<NuxtLink :to="...">Pre-rendered HTML outputs standard <a href="..."> anchor tags
XML SitemapsDynamic multi-source sitemap@nuxtjs/sitemapValid XML output at /sitemap.xml with zero excluded 404 routes
Robots ExclusionAI & Search Bot permissions@nuxtjs/robotsExplicit allow directives for OAI-SearchBot, Claude-SearchBot, and PerplexityBot
Structured DataSchema.org JSON-LD entitiesuseSchemaOrg() composableValidated by Google Rich Results Test with zero syntax errors
Core Web VitalsLayout stability & responsive images@nuxt/image & @nuxt/fontsLCP at or under 2.5 s, CLS at or under 0.1, INP at or under 200 ms (Google's "good" thresholds)
Hydration QAZero console hydration errorsHeadless Chromium QA testing0 hydration mismatch warnings or uncaught Promise rejections in console

How BugViso Checks a Rendered Nuxt 3 Site

BugViso loads your pages in real Chromium, so it sees what a visitor sees after Vue hydrates. It reports:

  1. Rendered DOM and links. It crawls from your sitemap and rendered links, so client-injected <NuxtLink> links are found and orphan pages show up.
  2. Console errors. Unhandled runtime exceptions and failed requests are captured with the script file and stack trace.
  3. Structured data and AI readiness. It validates JSON-LD, checks robots.txt access for AI crawlers and llms.txt, and scores AI search readiness from 0 to 100.
  4. Lab performance. LCP, CLS, TTFB, unused JavaScript and CSS, and un-dimensioned images, plus Slow 3G and Fast 3G re-loads.

Findings land in a ranked fix list and in the PDF with AI-written code fixes.

You sign in to run a scan, then pay $1.49 per full branded PDF report or use a monthly plan. See the developer website audit page for the full list.


Common Nuxt 3 SEO Mistakes Developers Make

The list below names common Nuxt 3 SEO mistakes and the damage each one causes.

  1. Using ssr: false Globally: Setting ssr: false in nuxt.config.ts turns Nuxt 3 into a pure client-side SPA, so indexing depends on Google's render step and most AI crawlers see an empty shell.
  2. Hardcoding Relative Canonical URLs: Forgetting to configure the canonical site domain causes search engines to receive invalid relative canonical links.
  3. Executing localStorage Checks in Setup Scripts: Reading client browser storage during component initialization triggers Vue hydration mismatches.
  4. Omitting robots.txt AI Crawler Directives: Blocking OAI-SearchBot or Claude-SearchBot in @nuxtjs/robots (often by a blanket AI-bot rule meant for GPTBot and ClaudeBot) keeps your brand out of ChatGPT and Claude search answers.

💡 Running plain Vue without Nuxt? Our Vue.js SEO guide compares SSR and prerendering for Vue SPAs with a benchmark.

Frequently Asked Questions About Nuxt 3 SEO

What is the difference between useHead and useSeoMeta in Nuxt 3?

useHead is a general composable for injecting tags (scripts, stylesheets, arbitrary meta tags) into the document <head>. useSeoMeta is a specialized, fully typed composable specifically designed for SEO and OpenGraph metadata, providing TypeScript autocompletion and XSS sanitization.

How does Nitro hybrid rendering improve SEO?

Nitro allows developers to apply different rendering strategies per route (e.g., static prerendering for marketing pages, ISR for blogs, SSR for products), so public routes can return pre-rendered HTML quickly.

Yes. <NuxtLink> automatically renders standard HTML <a href="..."> anchor tags in the server-rendered HTML, allowing search engine bots to discover and follow internal links.

How do I generate OpenGraph images dynamically in Nuxt 3?

Use the nuxt-og-image module to dynamically render custom 1200x630 OpenGraph images using Vue components on the server or edge.

How can I verify that my Nuxt 3 site is properly indexed?

Run an audit using a headless browser crawler like BugViso that renders the full Vue DOM, inspects JSON-LD schemas, tests 3G mobile speed, and verifies AI search bot permissions.

Conclusion: Shipping Crawlable Pages with Nuxt 3

Nuxt 3 supports solid technical SEO when it is built into the Nitro server setup from the start.

Use useSeoMeta, granular Nitro routeRules, automated XML sitemaps and @nuxt/image, then verify the rendered DOM with a headless audit. Your pages stay readable to crawlers. Run a BugViso audit to see where your own site stands.

Written by

· BugViso Team

Kazi writes BugViso’s guides on website audits, Core Web Vitals, technical SEO, accessibility and AI search. The data in them comes from audits BugViso runs in a real Chromium browser, including our 219-site study of website health.

Found this useful? Share it.

Summarise with AI

Open this guide in your assistant.

Follow BugViso

New guides and audit data as we publish them.

AI visibility tracker

Is your brand in AI answers?

See how often AI assistants mention you, cite your site and rank you against your competitors.

  • ChatGPT
  • Gemini
  • Perplexity
  • Claude
  • AI Overviews
See how it works

See where your site stands

Run a free BugViso audit for SEO, speed, accessibility and AI search readiness — with fixes you can ship today.