Skip to content

Commit

Permalink
[docs]: add --api option information (vercel#76493)
Browse files Browse the repository at this point in the history
We added `--api` support to create-next-app via vercel#68130. This documents
that option.

Closes DOC-4221
  • Loading branch information
ztanner authored Feb 25, 2025
1 parent 10ff550 commit 8d43c66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/01-app/04-api-reference/06-cli/create-next-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The following options are available:
| `--tailwind` | Initialize with Tailwind CSS config (default) |
| `--eslint` | Initialize with ESLint config |
| `--app` | Initialize as an App Router project |
| `--api` | Initialize a project with only route handlers |
| `--src-dir` | Initialize inside a `src/` directory |
| `--turbopack` | Enable Turbopack by default for development |
| `--import-alias <alias-to-configure>` | Specify import alias to use (default "@/\*") |
Expand Down

0 comments on commit 8d43c66

Please sign in to comment.