nuxt

Build server-rendered Vue applications with file-based routing and Nitro deployments.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/peterWang123589/rubin_forum --skill nuxt-peterwang123589
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt
Source: https://github.com/peterWang123589/rubin_forum/tree/main/.opencode/skills/nuxt
Command: npx skills add https://github.com/peterWang123589/rubin_forum --skill nuxt-peterwang123589

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Nuxt simplifies building server-rendered Vue applications by providing a cohesive framework for SSR, file-based routing, auto-imports, and a modular plugin system, reducing boilerplate and deployment friction.

Core Features & Use Cases

  • SSR-ready rendering with Hydration for SEO-friendly pages and fast first paints.
  • File-based routing, powerful routing rules, and Nitro-based server engine for versatile deployments (Node.js, edge, and static hosting).
  • Auto-imports, modules, and a robust ecosystem to accelerate development of server routes, middleware, and hybrid rendering.

Use cases include building universal apps with server routes, data fetching via useFetch/useAsyncData, and deploying to diverse environments.

Quick Start

  • Create a Nuxt app with npx nuxi init my-app
  • Install dependencies and define a basic nuxt.config.ts with defineNuxtConfig
  • Start the dev server with nuxi dev

Frequently Asked Questions about nuxt

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

FAQPage Schema
How do I build a Vue app with server-side rendering and file-based routing?

To build a Vue app with server-side rendering and file-based routing, use a framework that provides SSR-ready rendering with hydration, auto-imports, and a modular plugin system to reduce boilerplate and deployment friction. It handles data fetching and hybrid rendering out of the box.

Does Nuxt support deploying server routes to edge and static hosting environments?

Yes, Nuxt supports deploying server routes to edge and static hosting environments using its Nitro-based server engine. This versatile deployment pipeline allows the same universal Vue application to run seamlessly across Node.js, edge networks, and static hosts without configuration conflicts.

What is the best way to configure middleware for hybrid rendering in a server-rendered Vue application?

The best way to configure middleware for hybrid rendering in a server-rendered Vue application is using a modular configuration file. You define routing rules and middleware within a central config file, leveraging automatic imports to accelerate development of server routes and hybrid rendering logic.

How do I set up a basic SSR Vue project from scratch?

To set up a basic SSR Vue project, initialize the application using the command line, install dependencies, and define your configuration using a dedicated config function. Start the development server to render pages with hydration for SEO-friendly content and fast first paints.

When do I need SSR with hydration for my Vue application?

You need SSR with hydration for your Vue application when your project requires SEO-friendly pages and fast initial page loads. Server-rendered rendering sends fully rendered HTML to the browser, then hydrates it into a reactive Vue application, improving perceived performance and search indexing.

Why use a Nitro-based server engine for universal Vue apps instead of a standard Node server?

A Nitro-based server engine is used for universal Vue apps instead of a standard Node server to enable versatile deployments across Node.js, edge, and static hosts without server changes. It provides a robust deployment pipeline tailored for hybrid rendering and server routes.