Logo Light
decent-docs

Project structure

A quick guide to understanding the core folders and files in a Next.js project.

Next.js project structure

Tutorial time: 0h 5m 7s

Example of a Next.js project structure

layout.tsx
page.tsx
global.css
utils.ts
types.ts
.gitignore
eslint.config.mjs
next.config.mjs
next-env.d.ts
package.json
package-lock.json
postcss.config.mjs
README.md
tsconfig.json

On this page