Next.js template
A template for bootstrapping a new project with Next.js.

Introduction
This template sets up a project using Next.js and Croct, similar to running the create-next-app command but structured as a reusable template.
Usage
To create a new project using this template, run:
npm
npx croct@latest use nextjs://project
To specify a Next.js version, use the version option:
npm
npx croct@latest use nextjs://project --version=14
Options
The following options are available for this template:
Option | Description | Required | Default |
---|---|---|---|
projectName | The name of the project. | No | my-app |
version | The Next.js version to use. | No | latest |
router | The router to use (app or page). | No | app |
Start building in seconds
Paste the following command in your terminal and let the CLI do the rest.
npx croct@latest init