本文へスキップ
製品デスクトップツールTASTECAD図面の確認TASTEFILESファイル管理TASTEFTPファイル転送TASTESSHリモートワークスペースTASTEZIP圧縮と展開TASTEWINMファイル管理開発ツールTASTECODERust 統合開発環境TASTESTUDIO統合開発・テスト環境TASTEETLデータ統合(ETL)サーバーTASTEREMOTEリモートデスクトップサーバーTASTEGEO空間情報サーバーTASTEMAILメールワークスペース投資TASTESTOCK株式自動売買デスクトップアプリはじめるダウンロードドキュメント購入すべての製品
マーケットプレイス
ニュース
技術ニュース今日の開発ニュース開発ドキュメントプログラミング言語RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartWebフロントエンド フレームワークNext.jsReactVue.js · NuxtSvelteKitAngularサーバー フレームワークSpring BootDjangoFastAPIASP.NET CoreNestJS · Expressアプリ・デスクトップ フレームワークTauriFlutterReact NativeElectronアルゴリズムアルゴリズムの基礎主要アルゴリズム発展アルゴリズム実務のアルゴリズム
コミュニティプロジェクト開発ログプロンプトAIツールの問題ショーケースコミュニティガイド
協業技術移転ウェブサイト構築デスクトップアプリ構築リリース・決済パイプライン販売パートナーお問い合わせ
サービスリモートデスクトップインストールパッケージのカスタマイズ
TASTEDEV
製品

デスクトップツール

TASTECAD複雑な図面を、軽やかにひらくTASTEFILES必要なファイルだけを、最速でTASTEFTPファイルが行き交う、いちばん端正な道TASTESSHサーバーとあなたを、より確かにつなぐTASTEZIPより速くまとめ、より安全にひらくTASTEWINM2つの画面で整理する、キーボード中心のファイルマネージャー

開発ツール

TASTECODERust アプリの編集・ビルド・デバッグ・テストまでひとつのウィンドウでTASTESTUDIO編集からリモートテスト、承認した AI 修正までTASTEETL値を見ながら、データを運ぶ

サーバー

TASTEREMOTE自社サーバーで運用するリモートデスクトップTASTEGEOGeoServer 互換の空間情報サーバーを Rust で作り直しますTASTEMAILメールの主導権を、もう一度自分の手に

投資

TASTESTOCKいつ・何を。自分で決めたルールどおりに動く株式自動売買

はじめる

ダウンロード全製品の最新版ドキュメント各製品の使い方購入サブスクリプション・永久ライセンスすべての製品全製品を一覧で
すべての製品
マーケットプレイスニュース
技術

ニュース

今日の開発ニュース言語・フレームワーク・GitHub・AI の公式発表開発ドキュメント言語・フレームワーク・アルゴリズムのガイド

プログラミング言語

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

フレームワーク

Webフロントエンド フレームワークNext.jsReactVue.js · NuxtSvelteKitAngular
サーバー フレームワークSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
アプリ・デスクトップ フレームワークTauriFlutterReact NativeElectron

アルゴリズム

アルゴリズムの基礎計算量解析 · ソート · 探索 · 基本データ構造 · 木構造とヒープ主要アルゴリズムグラフ探索 · 最短経路と最小全域木 · 動的計画法 · 貪欲法 · 分割統治法 · バックトラッキング発展アルゴリズム文字列アルゴリズム · 数学と整数論 · ビット演算 · セグメント木 · Union-Find実務のアルゴリズムコーディング面接対策 · LRUキャッシュ · レート制限 · コンシステントハッシュ法
開発ドキュメントをすべて見る
コミュニティ
プロジェクトビルダーと作品を探す開発ログ決定と試行錯誤プロンプト再利用できる指示AIツールの問題Claude・Codex・Gemini の問題と回避策ショーケース完成した成果コミュニティガイドオープンにつくる方法
協業
技術移転Rust・egui でネイティブアプリを作るウェブサイト構築10言語、アカウント、ドキュメントとダウンロードデスクトップアプリ構築Rust・egui、WebView なしリリース・決済パイプライン署名・MSI・deb・rpm・AppImage・ハッシュ販売パートナー紹介して決済額の30%お問い合わせ構築・提携・投資のご相談
サービス
リモートデスクトップブラウザから自分のパソコンへインストールパッケージのカスタマイズ必要な機能だけ、設定は事前に
購入
JA
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
ログイン
ログイン
TASTEDEV

小さなツールから、より良い開発へ。

support@tastedev.netTASTEDEVを支援
製品製品ラインナップ購入ドキュメントダウンロードマーケットプレイスサポート
コミュニティプロジェクト開発ログプロンプトAIツールの問題ショーケース
ポリシー会社概要プライバシーポリシー利用規約サブスクリプション規約返金ポリシーコミュニティガイドライン
アカウントログイン新規登録
訪問者
今日
昨日
累計閲覧
商号
GXSOFT
代表者
CHOI YOUNG GU
事業者登録番号
853-44-00368
所在地
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
電話
+82-10-4404-1523
メール
whitecalvin@tastedev.net
個人情報保護責任者
CHOI YOUNG GU

© 2026 TASTEDEV製品情報は検証済みの開発ソースに基づいています。リリース・改善中

Next.js ドキュメント
Next.js
Getting Started with Next.jsProject StructureCore ConceptsData and StateTestingDeployment
ディスカッション

Next.js ガイド · 1/6

Getting Started with Next.js

この章は現在、英語でのみ提供しています。

In this chapter you will create a Next.js project, start the development server, edit your first page and add a second one. We will also set up the editor so it catches mistakes early. This guide uses the App Router, which lives in the app directory. The older pages directory (the Pages Router) is still supported, but the App Router is the recommended choice for new projects.

Prerequisites

Next.js runs on Node.js. Installing the current LTS release from nodejs.org is the safest choice. Each Next.js release declares a minimum Node.js version, so if your Node.js is old, check the requirements in the official installation guide. You can use npm, which ships with Node.js, or pnpm, Yarn or Bun.

node --version
npm --version

Create a project with create-next-app

The quickest way to start is the official scaffolding tool, create-next-app. It installs the required packages and writes sensible configuration files.

npx create-next-app@latest my-app

# or with another package manager
pnpm create next-app my-app
yarn create next-app my-app
bun create next-app my-app

The tool asks a few questions. Accepting the recommended defaults gives you TypeScript, a linter (ESLint), Tailwind CSS, the App Router and the @/* import alias. If you customize, you will be asked about the following; the exact prompts can vary between releases.

  • Whether to use TypeScript
  • Which linter to use (ESLint, Biome or none)
  • Whether to use Tailwind CSS
  • Whether to put your code in a src/ directory
  • Whether to use the App Router (recommended)
  • The import alias (@/* by default)

If you are new to Next.js, stick with the defaults. You can add TypeScript later, but enabling it from the start means your editor checks component props and data shapes for you.

Run the development server

Move into the project folder and start the dev server:

cd my-app
npm run dev

Open http://localhost:3000 and you will see the starter page. The dev server rebuilds only what changed whenever you save, and Fast Refresh updates the page while preserving component state where it can. Recent releases use Turbopack, a bundler written in Rust, for the dev server by default.

Your package.json contains scripts like these:

{
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "eslint"
  }
}

dev starts the development server, creates a production build, and serves that build. To use another port, pass , for example .

この章について質問がありますか?
次の章Project Structure
build
start
-p
npm run dev -- -p 4000

Edit your first page

In the App Router, every page.tsx file inside app becomes a URL. app/page.tsx is the home page (/). Replace its content with the following and save; the browser updates immediately.

// app/page.tsx
export default function Page() {
  return (
    <main>
      <h1>Hello, Next.js!</h1>
      <p>I just edited my first page.</p>
    </main>
  );
}

The shared frame around every page is app/layout.tsx. This root layout is required and must contain the <html> and <body> tags. Set the lang attribute to your content language so search engines and screen readers handle it correctly.

Add a new page

Create a folder with a page.tsx inside it and you get a new route: app/about/page.tsx becomes /about. To move between pages, use the Link component from next/link instead of a plain <a>. Link performs client-side navigation without a full reload and prefetches the destination of links that are visible on screen, so navigation feels instant.

// app/about/page.tsx
import Link from "next/link";

export default function AboutPage() {
  return (
    <main>
      <h1>About</h1>
      <Link href="/">Back home</Link>
    </main>
  );
}

Set up your editor

If you use VS Code, these steps are worth a few minutes:

  1. Next.js ships its own TypeScript plugin. With a .ts or .tsx file open, run "TypeScript: Select TypeScript Version" from the command palette and choose "Use Workspace Version". The editor will then flag invalid config values and misuse of "use client".
  2. Install the ESLint extension to see lint errors as you type. If you chose Biome, install the Biome extension instead.
  3. If you use Tailwind CSS, the Tailwind CSS IntelliSense extension adds class name completion.
  4. Install React Developer Tools in your browser to inspect the props and state of Client Components.

Summary

  • Create a project with npx create-next-app@latest and start it with npm run dev.
  • Each page.tsx under app is a route, and layout.tsx provides the shared frame.
  • Navigate between pages with Link from next/link.
  • Point your editor at the workspace TypeScript version to get Next.js-specific checks.

コメント 0件

人気のコメント順新しい順

ログイン · ログインするとコメントできます。