@nuxtjs/seo
Nuxt SEO installs and configures nine SEO modules for Nuxt. Use the bundle, or install each module separately.
|
Made possible by my Sponsor Program Follow me @harlan_zw • Join Discord for help |
Features
- Robots: Generate
robots.txt, robots meta tags, andX-Robots-Tagheaders. - Sitemap: Generate sitemaps from routes and data sources, with i18n support.
- Schema.org: Add JSON-LD structured data to your pages.
- OG Image: Generate Open Graph images from Vue components.
- △ SEO Utils: Manage titles, meta tags, canonical URLs, breadcrumbs, favicons, and social share links.
- Link Checker: Find broken links during development and builds.
- Site Config: Share site URLs, names, and locales across modules.
- AI Ready: Provide
llms.txtand Markdown versions of your pages. - Skew Protection: Keep previous build assets available after deployment.
Installation
Nuxt SEO v6 requires Nuxt ^4.6.1 || ^5.0.0 and Node ^22.22.3 || ^24.15.0 || >=26.0.0.
Nuxt 3 projects stay on Nuxt SEO v5.
If you use v5, read the migration guide.
From your Nuxt project, install all nine modules:
npx nuxt module add seo
Or install individual modules:
npx nuxt module add sitemap robots
Site Config installs automatically with any SEO module. The bundle checks module versions at build time and configuration during development. It uses polling for Skew Protection and disables its version cookie. Your module options take precedence.
Using an AI agent? Get the @nuxtjs/seo Skill on skilld.dev/gh/harlan-zw/nuxt-seo.
Documentation
Sponsors
License
Licensed under the MIT license.