A Next.js project with Croct integration.

Introduction

This template sets up a project using Next.js and Croct. It shows how to use the [Croct Next.js SDK](https://docs.croct.com/reference/sdk/nextjs/installation to add a CMS, analytics, A/B testing and personalization to your application.

Usage

To create a new project using this template, run:

npx croct@latest use nextjs://croct

To specify a Next.js version, use the version option:

npx croct@latest use nextjs://croct --version=14

Options

The following options are available for this template:

OptionDescriptionRequiredDefault
projectNameThe name of the project.Nomy-app
versionThe Next.js version to use.Nolatest
routerThe router to use (app or page).Noapp

Start building in seconds

Paste the following command in your terminal and let the CLI do the rest.

npx croct@latest init