Fully equipped Technical SEO for busy Nuxters.
Nuxt SEO is an ecosystem of SEO modules, tools, and tutorials built with and for the Nuxt community. Technical SEO requires many moving parts: sitemaps, robots.txt, Schema.org, OG images, meta tags, broken links. Nuxt SEO provides a module for each, so you can install them individually or all at once.
|
Made possible by my Sponsor Program π Follow me @harlan_zw π¦ β’ Join Discord for help |
- π€ Crawl Control: Automatic
robots.txtgeneration,<meta name="robots">tags, andX-Robots-Tagheaders to manage how search engines access your site. - π Sitemaps: Auto-generated
sitemap.xmlfrom your app's data sources, with multi-sitemap support for i18n sites. - πΌοΈ OG Images: Dynamic Open Graph image generation for every page, no manual design work needed.
- π Structured Data: Schema.org JSON-LD generated automatically with sensible defaults and opt-in rich schemas.
- β Link Checking: Broken link detection at build time with ESLint integration and DevTools support.
- β³ SEO Utils: Automatic favicons, default meta tags, breadcrumbs, and social share links.
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.
| Module | Package | What it solves |
|---|---|---|
| Robots | @nuxtjs/robots | Search engines need clear instructions about which pages to crawl and index |
| Sitemap | @nuxtjs/sitemap | Search engines can't discover all your pages without a structured index |
| OG Image | nuxt-og-image | Social platforms need preview images when content is shared |
| Schema.org | nuxt-schema-org | Rich snippets and search features require structured data |
| SEO Utils | nuxt-seo-utils | Favicons, default meta, breadcrumbs, and other SEO essentials |
| Link Checker | nuxt-link-checker | Broken links harm SEO and user experience |
| Site Config | nuxt-site-config | All modules need consistent site URL, name, and locale config |
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.
Install everything at once:
npx nuxt module add seoOr pick only what you need:
npx nuxt module add sitemap robotsOnce installed, check the Using the Modules guide to get started.
Modules handle the technical foundation, but testing your production environment is as important. Nuxt SEO provides free tools to validate your live site:
Learn more about SEO beyond the technical basics:
Read the full documentation for configuration options, guides, and examples.
Licensed under the MIT license.