← All components

Next.js App Router Base

Minimal Next.js 16 App Router project: package.json, tsconfig, root layout and home page. Marks CSS as the only sideEffects and enables optimizePackageImports for icon barrels. Every other component requires this one, directly or transitively.

Copy the files below, or open this folder on GitHub. Each file is stamped with a limited-use licence, generator and date. SHA-256 is of the published catalog bytes, before the stamp.

id
nextjs-base
stack
Next.js
version
2.0.2
compatibility
nextjs >=16 <17 · react >=19 <20
requires
env vars
Verified passing · daily buildIntegrity sha256:57c04bccbd088194

Files (11)

package.json · sha256:57c04bccbd088194…
{
  "name": "<%= projectName %>",
  "version": "0.1.0",
  "private": true,
  "sideEffects": ["*.css", "app/globals.css"],
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "eslint"
  },
  "dependencies": {
    "next": "16.3.4",
    "react": "19.2.8",
    "react-dom": "19.2.8"
  },
  "devDependencies": {
    "typescript": "5.9.3",
    "@types/node": "20.19.43",
    "@types/react": "19.2.18",
    "@types/react-dom": "19.2.5",
    "eslint": "9.39.5",
    "eslint-config-next": "16.3.4"
  }
}