Skip to main content
ProductsDesktop toolsTASTECADDrawing reviewTASTEFILESFile managementTASTEFTPFile transferTASTESSHRemote workspaceTASTEZIPCompression and extractionTASTEWINMFile managementDeveloper toolsTASTECODERust integrated development environmentTASTESTUDIOIntegrated development and test environmentTASTEETLData integration (ETL)ServersTASTEREMOTERemote desktop serverTASTEGEOGeospatial serverTASTEMAILMail workspaceInvestingTASTESTOCKStock auto-trading desktop appGet startedDownloadsDocumentationBuyAll products
Marketplace
News
TechNewsToday's dev newsDeveloper docsProgramming languagesRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartWeb front-end frameworksNext.jsReactVue.js · NuxtSvelteKitAngularServer frameworksSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressApp & desktop frameworksTauriFlutterReact NativeElectronAlgorithmsAlgorithm basicsCore algorithmsAdvanced algorithmsPractical algorithms
CommunityProjectsDevelopment logsPromptsAI tool issuesShowcaseCommunity guide
Work with usTech transferWebsite buildDesktop app buildRelease and payment pipelineSales partnerContact
ServicesRemote desktopCustom installer packages
TASTEDEV
Products

Desktop tools

TASTECADComplex drawings, opened with easeTASTEFILESJust the files you need, as fast as possibleTASTEFTPThe tidiest path for your filesTASTESSHA stronger link between you and your serversTASTEZIPPack faster, unpack saferTASTEWINMA keyboard-first file manager with two panes

Developer tools

TASTECODEEdit, build, debug and test Rust apps in one windowTASTESTUDIOFrom editing to remote tests and approved AI fixesTASTEETLMove data while you watch the values

Servers

TASTEREMOTEA remote desktop you run on your own serverTASTEGEORebuilding a GeoServer-compatible geospatial server in RustTASTEMAILTake back control of your email

Investing

TASTESTOCKStock auto-trading that follows the rules you set: when, and what

Get started

DownloadsLatest builds of every productDocsHow to use each productBuySubscriptions and perpetual licencesAll productsEvery product at a glance
All products
MarketplaceNews
Tech

News

Today's dev newsOfficial announcements on languages, frameworks, GitHub and AIDeveloper docsGuides to languages, frameworks and algorithms

Programming languages

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Web front-end frameworksNext.jsReactVue.js · NuxtSvelteKitAngular
Server frameworksSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
App & desktop frameworksTauriFlutterReact NativeElectron

Algorithms

Algorithm basicsComplexity analysis · Sorting · Searching · Basic data structures · Trees and heapsCore algorithmsGraph traversal · Shortest paths & minimum spanning trees · Dynamic programming · Greedy algorithms · Divide and conquer · BacktrackingAdvanced algorithmsString algorithms · Math and number theory · Bit manipulation · Segment trees · Union-findPractical algorithmsCoding interview strategy · LRU cache · Rate limiting · Consistent hashing
All development docs
Community
ProjectsDiscover builders and their workDevelopment logsDecisions and lessons learnedPromptsReusable instructionsAI tool issuesProblems and workarounds for Claude, Codex, GeminiShowcaseFinished resultsCommunity guideHow we build in the open
Work with us
Tech transferNative apps in Rust and eguiWebsite build10 languages, accounts, docs and downloadsDesktop app buildRust and egui, no WebViewRelease and payment pipelineSigning, MSI, deb, rpm, AppImage, hashesSales partnerRecommend us and earn 30%ContactBuilds, partnerships and investment
Services
Remote desktopReach your computer from a browserCustom installer packagesOnly the features you need, settings preloaded
Buy
EN
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Log in
Log in
TASTEDEV

From small tools to better development.

support@tastedev.netSupport TASTEDEV
ProductsProduct lineupBuyDocsDownloadsMarketplaceSupport
CommunityProjectsDevelopment logsPromptsAI tool issuesShowcase
PoliciesAbout usPrivacy policyTerms of serviceSubscription termsRefund policyCommunity guidelines
AccountLog inSign up
Visitors
Today
Yesterday
Total views
Company
GXSOFT
Representative
CHOI YOUNG GU
Business registration number
853-44-00368
Address
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Phone
+82-10-4404-1523
Email
whitecalvin@tastedev.net
Privacy officer
CHOI YOUNG GU

© 2026 TASTEDEVProduct information is based on verified development sources.Released · improving

Next.js docs
Next.js
Getting Started with Next.jsProject StructureCore ConceptsData and StateTestingDeployment
Discussions

Next.js guide · 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, build creates a production build, and start serves that build. To use another port, pass -p, for example 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.
Questions about this chapter?
Next chapterProject Structure

0 comments

Top commentsNewest first

Sign in · Sign in to leave a comment.