nuxt-seo

Automate Nuxt SEO configuration with robots, sitemap, OG images, and JSON-LD schema.org metadata.

1|Updated Apr 12, 2024
One-click install
npx skills add https://github.com/xvaara/sleepwalkers --skill nuxt-seo-xvaara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt-seo
Source: https://github.com/xvaara/sleepwalkers/tree/main/.agents/skills/nuxt-seo
Command: npx skills add https://github.com/xvaara/sleepwalkers --skill nuxt-seo-xvaara

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Nuxt SEO meta-module centralizes robots, sitemap, og-image, and schema.org metadata to simplify SEO setup for Nuxt sites.

Core Features & Use Cases

  • Centralized SEO configuration across pages using frontmatter and site config
  • Auto-generation of robots.txt and sitemap.xml, with support for dynamic routes
  • JSON-LD schema.org integration and dynamic OG images for rich previews
  • Seamless compatibility with asSeoCollection() for Nuxt Content
  • Real-world example: deploy on a marketing site to ensure consistent SEO across dozens of pages

Quick Start

Install the module and enable it in nuxt.config.ts, then configure site and schema options to activate automatic SEO metadata.

Frequently Asked Questions about nuxt-seo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SEO metadata across multiple pages in a Nuxt 3 application?

You can automate SEO metadata in Nuxt 3 by centralizing configuration through frontmatter and site config, which automatically generates robots.txt, sitemap.xml, and JSON-LD schema.org data across pages.

How do I generate dynamic OG images for Nuxt Content pages?

Dynamic OG images for Nuxt Content are generated by integrating the SEO module with your site config, allowing rich social previews using frontmatter data via asSeoCollection utilities.

Can I automatically generate a sitemap with dynamic routes in Nuxt?

Yes, the Nuxt SEO module supports auto-generation of sitemap.xml with dynamic routes, ensuring consistent SEO data and proper crawling instructions across all page variations.

Does Nuxt SEO work with Nuxt Content collections?

Yes, Nuxt SEO is compatible with Nuxt Content collections, supporting frontmatter-driven head management and modular loading through the asSeoCollection utility for consistent metadata.

What is the best way to add JSON-LD schema.org structured data in Nuxt?

The best way to add JSON-LD schema.org structured data in Nuxt is using a centralized SEO module that configures schema options in nuxt.config.ts to automatically generate structured data.

How do I configure robots.txt for a Nuxt marketing site?

You can configure robots.txt for a Nuxt site by enabling the SEO module in nuxt.config.ts, which automates robots.txt generation and integrates crawling rules with your site config.