App Router Getting Started Proj...
What is the purpose of top-level folders in Next.js?
Apuntes
App Router Getting Started Proj... Project structure and organization This page provides an overview of all the folder and file conventions in Next.js, and recommendations for organizing your project. Folder and file conventions Top-level folders Top-level folders are used to organize your application's code and static assets. app App Router pages Pages Router public Static assets to be served src Optional application source folder Copy page 3/12/25, 21:37 Getting Started: Project Structure | Next.js https://nextjs.org/docs/app/getting-started/project-structure 1/15 Top-level files Top-level files are used to configure your application, manage dependencies, run proxy, integrate monitoring tools, and define environment variables. Next.js next.config.js Configuration file for Next.js package.json Project dependencies and scripts instrumentation.ts OpenTelemetry and Instrumentation file proxy.ts Next.js request proxy .env Environment variables .env.local Local environment variables .env.production Production environment variables .env.development Development environment variables eslint.config.mjs Configuration file for ESLint .gitignore Git files and folders to ignore next-env...
Estudia con juegos interactivos
Sube tus apuntes y genera flashcards, examenes y mas con IA
Empezar gratis