Skip to content

harlan-zw/nuxt-seo

@nuxtjs/seo

npm version npm downloads License Nuxt

Fully equipped Technical SEO & AEO for busy Nuxters.

Nuxt SEO is an ecosystem of SEO modules, tools, and tutorials built with and for the Nuxt community. Search has changed: Google still matters, but ChatGPT, Claude, Perplexity, and AI Overviews now answer questions your site could answer, and they only cite sources they can parse. Nuxt SEO ships the full stack, robots.txt, sitemaps, Schema.org, OG images, meta tags, link checks, to make your Nuxt app discoverable by both search engines and answer engines.

Made possible by my Sponsor Program 💖
Follow me @harlan_zw 🐦 • Join Discord for help

Features

  • 🤖 Crawl Control: Automatic robots.txt generation, <meta name="robots"> tags, and X-Robots-Tag headers to manage how search engines and AI crawlers access your site.
  • 📄 Sitemaps: Auto-generated sitemap.xml from your app's data sources, with multi-sitemap support for i18n sites.
  • 🔎 Structured Data: Schema.org JSON-LD generated automatically, the single biggest lever for rich results, AI Overviews, and entity recognition.
  • 🖼️ OG Images: Dynamic Open Graph image generation for every page, no manual design work needed.
  • SEO Utils: Clean titles, default meta, canonical URLs, breadcrumbs, favicons, and social share links, AEO fundamentals AI parsers rely on.
  • Link Checking: Broken link detection at build time with ESLint integration and DevTools support.

Made for the age of AI answers

Traditional SEO signals (clean HTML, structured data, crawlable sitemaps, valid meta) are the same signals AI crawlers use to decide what to cite. Nuxt SEO gives you all of them by default. Pair it with nuxt-ai-ready for llms.txt, on-demand markdown endpoints, and an MCP server, and you get a 100/100 score on @vercel/agent-readability by default.

npx nuxi module add seo ai-ready
# then verify:
npx @vercel/agent-readability audit https://your-site.com

The @nuxtjs/seo Module

The @nuxtjs/seo package is a simple alias for installing all of the modules in one go.

// This is all it does!
export default defineNuxtModule<ModuleOptions>({
  moduleDependencies: {
    '@nuxtjs/robots': { version: '>=6.0' },
    '@nuxtjs/sitemap': { version: '>=8.0' },
    'nuxt-link-checker': { version: '>=5.0' },
    'nuxt-og-image': { version: '>=6.2' },
    'nuxt-schema-org': { version: '>=6.0' },
    'nuxt-seo-utils': { version: '>=8.1' },
    'nuxt-site-config': { version: '>=4.0' },
  },
})

Every module works standalone. Install @nuxtjs/seo to get everything at once, or pick only what you need (e.g. Sitemap and Robots). Configuration, composables, and features are identical either way.

Modules

Module Package What it solves
Robots @nuxtjs/robots Control which crawlers (Googlebot, GPTBot, ClaudeBot, PerplexityBot…) can access which pages
Sitemap @nuxtjs/sitemap Give every crawler, search and answer engine, a full index of your content
Schema.org nuxt-schema-org The structured data AI engines rely on to understand entities, authors, products, FAQs
OG Image nuxt-og-image Preview images for social shares and chat-bot rich cards
SEO Utils nuxt-seo-utils Favicons, canonicals, breadcrumbs, default meta, the AEO fundamentals
Link Checker nuxt-link-checker Broken links harm SEO, confuse AI crawlers, and hurt UX
Site Config nuxt-site-config Unified site URL, name, and locale config shared across every module

Companion modules

Not bundled by default, but highly recommended to round out your AEO stack:

Module Package What it solves
AI Ready nuxt-ai-ready llms.txt, on-demand .md route variants, MCP server, IndexNow, RAG-ready output
Skew Protection nuxt-skew-protection Persistent assets and instant updates across deployments

Note

Site Config installs automatically with any SEO module. It provides a unified configuration layer that works across all modules at both build time and runtime.

Installation

Install everything at once:

npx nuxt module add seo

Or pick only what you need:

npx nuxt module add sitemap robots

Going all-in on AEO? Add nuxt-ai-ready alongside:

npx nuxt module add seo ai-ready

Tip

Generate an Agent Skill for this package using skilld:

npx skilld add @nuxtjs/seo

Once installed, check the Using the Modules guide to get started.

Going Further

Modules handle the technical foundation. Validating your live site is equally important:

Learn more about SEO and AEO:

Documentation

Read the full documentation for configuration options, guides, and examples.

Sponsors

License

Licensed under the MIT license.

About

Fully equipped Technical SEO & AEO for busy Nuxters.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors