Next.js
Quick start
Section titled “Quick start”tinkerise web next my-next-app --typescript --tailwind --eslinttinkerise web next my-next-app --no-install --package-manager pnpmWhen to use
Section titled “When to use”Use next when you want:
- React Server Components and file-based routing
- Built-in API routes and full-stack patterns
- A single framework for app UI and backend endpoints
Prerequisites
Section titled “Prerequisites”- Node.js
>=18.17.0 npxavailable in your Node install
Unified flags
Section titled “Unified flags”| tinkerise flag | Native create-next-app flag | Notes |
|---|---|---|
--typescript | --typescript or --ts | Mapping varies by create-next-app version |
--tailwind | --tailwind | Adds Tailwind setup in scaffold |
--eslint | --eslint | Enables linting setup in scaffold |
--no-git | --skip-git or --disable-git | Mapping varies by create-next-app version |
--no-install | --skip-install | Skips dependency install |
--package-manager <pm> | --use-<pm> | Supports npm, pnpm, yarn, bun |
Framework-specific behavior
Section titled “Framework-specific behavior”- tinkerise delegates to
create-next-app. - Registry version mappings handle create-next-app flag changes automatically.
- Pass-through args are enabled, so native flags still work.
Native pass-through example:
tinkerise web next my-next-app -- --app --src-dirGenerated output
Section titled “Generated output”You get the official Next.js scaffold output, including:
app/orsrc/app/route structure (depending on options)- Next.js config, TypeScript config, and package scripts
- Optional Tailwind and ESLint setup based on selected flags
Related enhancements
Section titled “Related enhancements”Command reference
Section titled “Command reference”See full CLI flags: /reference/commands/