nuxt

Guide Nuxt.js development with best practices for rendering, data fetching, and configuration.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/messeb/skills --skill nuxt-messeb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt
Source: https://github.com/messeb/skills/tree/main/plugins/frontend-developer/skills/nuxt
Command: npx skills add https://github.com/messeb/skills --skill nuxt-messeb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers adhere to best practices in Nuxt.js development, ensuring efficient, maintainable, and performant applications.

Core Features & Use Cases

  • Rendering Modes: Guides optimal selection between SSR, SSG, ISR, SPA, and Hybrid rendering.
  • Data Fetching: Demonstrates effective use of useFetch and useAsyncData for server and client-side data retrieval.
  • Routing & Middleware: Explains Nuxt's file-based routing conventions and middleware implementation.
  • State Management: Recommends Pinia for complex state and useState for simple SSR-compatible state.
  • SEO: Details how to implement SEO best practices using useSeoMeta.
  • Configuration: Provides guidance on nuxt.config.ts best practices, including runtime config and modules.
  • Audit Checklist: Offers a comprehensive list of common Nuxt pitfalls to avoid.

Quick Start

Review the Nuxt.js best practices for rendering modes, data fetching, and routing.

Frequently Asked Questions about nuxt

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

FAQPage Schema
How do I choose the right Nuxt rendering mode for my application?

Nuxt rendering mode selection depends on your content update frequency and SEO needs. This guidance helps you optimally choose between SSR, SSG, ISR, SPA, and Hybrid rendering to ensure efficient and performant Nuxt applications.

What is the best way to fetch data in Nuxt using useAsyncData and useFetch?

The best way to fetch data in Nuxt involves using `useFetch` for simple component-level retrieval and `useAsyncData` for custom logic. This approach ensures effective server and client-side data fetching while preventing common hydration pitfalls.

How should I manage state in Nuxt with Pinia for SSR compatibility?

Managing state in Nuxt with Pinia is recommended for complex application states, while `useState` is better for simple SSR-compatible state. This strategy ensures your state persists correctly across server-side rendering and client hydration.

How do I optimize SEO in Nuxt using useSeoMeta?

Optimizing SEO in Nuxt using `useSeoMeta` involves defining meta tags directly within your component setup. This method streamlines the implementation of SEO best practices, ensuring search engines properly index your Nuxt application content.

What are common Nuxt pitfalls to check during an audit?

Common Nuxt pitfalls to check during an audit include improper `nuxt.config.ts` runtime configurations, incorrect middleware implementation, and inefficient routing conventions. The audit checklist helps identify and avoid these frequent Nuxt development errors.