オプション

Nuxt 4 を使用して、SSR、ファイルベースのルーティング、自動インポート、サーバーサイドのルーティング、デプロイなどを網羅したフルスタックの Vue アプリケーションを構築します。

...すべて拡張します
7
更新された時間 2026年9月6日

Nuxt は、サーバーサイドレンダリング、ファイルベースのルーティング、自動インポート、そして強力なモジュールシステムを提供するフルスタックVueフレームワークです。Node.js、サーバーレス、エッジプラットフォームにわたるユニバーサルなデプロイを実現するため、サーバーエンジンとしてNitroを採用しています。

このスキルは、2026年6月22日に生成されたNuxt 4.xに基づいています。

Nuxt 4 注:デフォルトの srcDirapp/ — Vueアプリのコード(app.vue, components/, composables/, pages/など)は app/に配置され、 server/, shared/, public/, modules/, layers/nuxt.config.ts はプロジェクトのルートディレクトリに残ります。 ~/@ エイリアスは現在、 app/を指すようになりました。ルートの場合は ~~/@@ を使用してください。

コア

トピック 説明 参照
ディレクトリ構造 Nuxt 4 app/ srcDir、 shared/, エイリアス, 規約 コア・ディレクトリ構造
構成 nuxt.config.ts、app.config.ts、エイリアス、互換性バージョン、実験的機能 コア設定
CLI コマンド 開発サーバー、ビルド、生成、プレビュー、およびユーティリティコマンド core-cli
ルーティング ファイルベースのルーティング、動的ルート、名前付きビュー、レイアウトプロパティ、ミドルウェア core-routing
データフェッチ useFetch、useAsyncData、$fetch、createUseFetchファクトリ、キャッシュ core-data-fetching
モジュール Nuxtモジュールの作成と使用、NuxtKitユーティリティ core-modules
デプロイ Nitro、Vercel、Netlify、Cloudflare によるプラットフォーム非依存のデプロイ core-deployment

機能

トピック 説明 リファレンス
コンポーザブルの自動インポート Vue/Nuxtのコンポーザブル、カスタムコンポーザブル、 shared/、useAnnouncer features-composables
コンポーネントの自動インポート コンポーネントの命名、遅延読み込み、ハイドレーション戦略 features-components-autoimport
組み込みコンポーネント NuxtLink、NuxtPage、NuxtLayout、NuxtAnnouncer、ClientOnly など features-components
状態管理 useState コンポーザブル、SSR 対応の状態、Pinia との統合 features-state
サーバールート APIルート、サーバーミドルウェア、Nitroサーバーエンジン サーバー機能

レンダリング

トピック 説明 リファレンス
レンダリングモード ユニバーサル(SSR)、クライアントサイド(SPA)、ハイブリッドレンダリング、ルートルール レンダリングモード

ベストプラクティス

トピック 説明 リファレンス
データ取得パターン 効率的な取得、キャッシュ、並列リクエスト、エラー処理 データ取得のベストプラクティス
SSR とハイドレーション コンテキストリーク、ハイドレーションの不一致の回避、コンポーザブルなパターン SSRのベストプラクティス

上級

トピック 説明 リファレンス
レイヤー 再利用可能なレイヤーによるアプリケーションの拡張 advanced-layers
ライフサイクルフック ビルド時、実行時、およびサーバー側のフック advanced-hooks
モジュールの作成 Nuxt Kit による公開可能なモジュール、キー付きコンポーザブル、依存関係 高度なモジュール作成
GitHubで見る
---
name: nuxt
description: Build full-stack Vue applications with Nuxt 4, covering SSR, file-based routing, auto-imports, server routes, and deployment.
---

Nuxt is a full-stack Vue framework that provides server-side rendering, file-based routing, auto-imports, and a powerful module system. It uses Nitro as its server engine for universal deployment across Node.js, serverless, and edge platforms.

> The skill is based on Nuxt 4.x, generated at 2026-06-22.

> **Nuxt 4 note:** the default `srcDir` is `app/` — Vue app code (`app.vue`, `components/`, `composables/`, `pages/`, etc.) lives under `app/`, while `server/`, `shared/`, `public/`, `modules/`, `layers/` and `nuxt.config.ts` stay at the project root. The `~`/`@` aliases now point at `app/`; use `~~`/`@@` for the root.

## Core

| Topic | Description | Reference |
|-------|-------------|-----------|
| Directory Structure | Nuxt 4 `app/` srcDir, `shared/`, aliases, conventions | [core-directory-structure](references/core-directory-structure.md) |
| Configuration | nuxt.config.ts, app.config.ts, aliases, compatibilityVersion, experimental | [core-config](references/core-config.md) |
| CLI Commands | Dev server, build, generate, preview, and utility commands | [core-cli](references/core-cli.md) |
| Routing | File-based routing, dynamic routes, named views, layout props, middleware | [core-routing](references/core-routing.md) |
| Data Fetching | useFetch, useAsyncData, $fetch, createUseFetch factories, caching | [core-data-fetching](references/core-data-fetching.md) |
| Modules | Creating and using Nuxt modules, Nuxt Kit utilities | [core-modules](references/core-modules.md) |
| Deployment | Platform-agnostic deployment with Nitro, Vercel, Netlify, Cloudflare | [core-deployment](references/core-deployment.md) |

## Features

| Topic | Description | Reference |
|-------|-------------|-----------|
| Composables Auto-imports | Vue/Nuxt composables, custom composables, `shared/`, useAnnouncer | [features-composables](references/features-composables.md) |
| Components Auto-imports | Component naming, lazy loading, hydration strategies | [features-components-autoimport](references/features-components-autoimport.md) |
| Built-in Components | NuxtLink, NuxtPage, NuxtLayout, NuxtAnnouncer, ClientOnly, and more | [features-components](references/features-components.md) |
| State Management | useState composable, SSR-friendly state, Pinia integration | [features-state](references/features-state.md) |
| Server Routes | API routes, server middleware, Nitro server engine | [features-server](references/features-server.md) |

## Rendering

| Topic | Description | Reference |
|-------|-------------|-----------|
| Rendering Modes | Universal (SSR), client-side (SPA), hybrid rendering, route rules | [rendering-modes](references/rendering-modes.md) |

## Best Practices

| Topic | Description | Reference |
|-------|-------------|-----------|
| Data Fetching Patterns | Efficient fetching, caching, parallel requests, error handling | [best-practices-data-fetching](references/best-practices-data-fetching.md) |
| SSR & Hydration | Avoiding context leaks, hydration mismatches, composable patterns | [best-practices-ssr](references/best-practices-ssr.md) |

## Advanced

| Topic | Description | Reference |
|-------|-------------|-----------|
| Layers | Extending applications with reusable layers | [advanced-layers](references/advanced-layers.md) |
| Lifecycle Hooks | Build-time, runtime, and server hooks | [advanced-hooks](references/advanced-hooks.md) |
| Module Authoring | Publishable modules with Nuxt Kit, keyed composables, dependencies | [advanced-module-authoring](references/advanced-module-authoring.md) |

すべてのファイル

0件のファイル

nuxtをインストール

スキルファイルをダウンロードし、.claude/skills/ ディレクトリに解凍してください。

ZIPをダウンロード

リポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。

git clone https://github.com/antfu/skills/tree/main/skills/nuxt # Copy SKILL.md to your .claude/skills/ directory

コピー コピー
クイックセットアップ: スキルフォルダを .claude/skills/ にコピーしてください。 Claude が自動的にそのスキルを検出して使用します。
リポジトリ antfu/skills

関連スキル

github-code-search
更新された時間 2026年6月29日
drizzle-orm
更新された時間 2026年6月29日
clickhouse-io
更新された時間 2026年6月29日
prisma-client-api
更新された時間 2026年6月29日
OR