Saltar al contenido principal
ProductosHerramientas de escritorioTASTECADRevisión de planosTASTEFILESGestión de archivosTASTEFTPTransferencia de archivosTASTESSHEspacio de trabajo remotoTASTEZIPCompresión y extracciónTASTEWINMGestión de archivosHerramientas para desarrolladoresTASTECODEEntorno de desarrollo integrado para RustTASTESTUDIOEntorno integrado de desarrollo y pruebasTASTEETLIntegración de datos (ETL)ServidoresTASTEREMOTEServidor de escritorio remotoTASTEGEOServidor geoespacialTASTEMAILEspacio de trabajo de correoInversiónTASTESTOCKAplicación de escritorio de trading automático de accionesEmpezarDescargasDocumentaciónComprarTodos los productos
Marketplace
Noticias
TecnologíaNoticiasNoticias de desarrollo de hoyDocumentaciónLenguajes de programaciónRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFrameworks web frontendNext.jsReactVue.js · NuxtSvelteKitAngularFrameworks de servidorSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFrameworks de apps y escritorioTauriFlutterReact NativeElectronAlgoritmosFundamentos de algoritmosAlgoritmos esencialesAlgoritmos avanzadosAlgoritmos prácticos
ComunidadProyectosRegistros de desarrolloPromptsProblemas con herramientas de IAEscaparateGuía de la comunidad
ColaboraTransferencia técnicaDesarrollo de sitio webDesarrollo de app de escritorioCanal de lanzamiento y pagosSocio de ventasContacto
ServiciosEscritorio remotoPaquetes de instalación a medida
TASTEDEV
Productos

Herramientas de escritorio

TASTECADAbre planos complejos con ligerezaTASTEFILESSolo los archivos que necesitas, lo más rápido posibleTASTEFTPEl camino más limpio para tus archivosTASTESSHEntre tu servidor y tú, una conexión más sólidaTASTEZIPComprime más rápido, descomprime más seguroTASTEWINMUn gestor de archivos de dos paneles pensado para el teclado

Herramientas para desarrolladores

TASTECODEEdita, compila, depura y prueba apps de Rust en una sola ventanaTASTESTUDIODe la edición a las pruebas remotas y las correcciones con IA aprobadasTASTEETLMueve datos viendo sus valores

Servidores

TASTEREMOTEUn escritorio remoto que funciona en tu propio servidorTASTEGEOUn servidor geoespacial compatible con GeoServer, reconstruido en RustTASTEMAILRecupera el control de tu correo

Inversión

TASTESTOCKTrading automático de acciones según las reglas que tú defines: cuándo y qué

Empezar

DescargasÚltimas versiones de cada productoDocsCómo usar cada productoComprarSuscripciones y licencias perpetuasTodos los productosTodos los productos de un vistazo
Todos los productos
MarketplaceNoticias
Tecnología

Noticias

Noticias de desarrollo de hoyAnuncios oficiales de lenguajes, frameworks, GitHub e IADocumentaciónGuías de lenguajes, frameworks y algoritmos

Lenguajes de programación

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Frameworks web frontendNext.jsReactVue.js · NuxtSvelteKitAngular
Frameworks de servidorSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Frameworks de apps y escritorioTauriFlutterReact NativeElectron

Algoritmos

Fundamentos de algoritmosAnálisis de complejidad · Ordenamiento · Búsqueda · Estructuras de datos básicas · Árboles y montículosAlgoritmos esencialesRecorrido de grafos · Camino mínimo y árbol generador mínimo · Programación dinámica · Algoritmos voraces · Divide y vencerás · Backtracking (vuelta atrás)Algoritmos avanzadosAlgoritmos de cadenas · Matemáticas y teoría de números · Manipulación de bits · Árboles de segmentos · Union-FindAlgoritmos prácticosEstrategia para entrevistas de código · Caché LRU · Limitación de tasa · Hashing consistente
Toda la documentación de desarrollo
Comunidad
ProyectosDescubre creadores y su trabajoRegistros de desarrolloDecisiones y aprendizajesPromptsInstrucciones reutilizablesProblemas con herramientas de IAProblemas y alternativas de Claude, Codex, GeminiEscaparateResultados terminadosGuía de la comunidadCómo construimos en abierto
Colabora
Transferencia técnicaApps nativas con Rust y eguiDesarrollo de sitio web10 idiomas, cuentas, documentación y descargasDesarrollo de app de escritorioRust y egui, sin WebViewCanal de lanzamiento y pagosFirma, MSI, deb, rpm, AppImage, hashesSocio de ventasRecomiéndanos y gana el 30 %ContactoDesarrollo, alianzas e inversión
Servicios
Escritorio remotoAccede a tu ordenador desde el navegadorPaquetes de instalación a medidaSolo lo necesario, ajustes precargados
Comprar
ES
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Iniciar sesión
Iniciar sesión
TASTEDEV

De pequeñas herramientas a un mejor desarrollo.

support@tastedev.netApoyar a TASTEDEV
ProductosLínea de productosComprarDocsDescargasMarketplaceSoporte
ComunidadProyectosRegistros de desarrolloPromptsProblemas con herramientas de IAEscaparate
PolíticasQuiénes somosPolítica de privacidadTérminos de servicioCondiciones de suscripciónReembolsosNormas de la comunidad
CuentaIniciar sesiónRegistrarse
Visitantes
Hoy
Ayer
Vistas totales
Empresa
GXSOFT
Representante
CHOI YOUNG GU
Número de registro mercantil
853-44-00368
Dirección
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Teléfono
+82-10-4404-1523
Correo electrónico
whitecalvin@tastedev.net
Responsable de privacidad
CHOI YOUNG GU

© 2026 TASTEDEVLa información de los productos se basa en fuentes de desarrollo verificadas.Publicado · en mejora

Documentación de Next.js
Next.js
Getting Started with Next.jsProject StructureCore ConceptsData and StateTestingDeployment
Debates

Guía de Next.js · 1/6

Getting Started with Next.js

Por ahora, este capítulo solo está disponible en inglés.

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 .

¿Tienes preguntas sobre este capítulo?
Capítulo siguienteProject 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 comentarios

Comentarios destacadosMás recientes primero

Iniciar sesión · Inicia sesión para dejar un comentario.