Skip to content

The Complete Next Starter package offers a sample project that demonstrates how simple it is to create compelling web pages in Prepr, including personalization and A/B testing capabilities.

Notifications You must be signed in to change notification settings

preprio/next-complete-starter

Repository files navigation

Next 13 Starter

Look at the Complete guide to Next and Prepr personalization to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Add the environment file

Copy the .env.example file in this directory to .env (which will be ignored by Git) by running the following command:

cp .env.example .env.

Update the environment file

In the .env file replace <YOUR-ACCESS-TOKEN> with the Prepr access token from your environment with demo content.

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Start the production build:

npm run start

Check out the deployment documentation for more information.

About

The Complete Next Starter package offers a sample project that demonstrates how simple it is to create compelling web pages in Prepr, including personalization and A/B testing capabilities.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published