Introduction to the Next.js complete guide

This section introduces you to the complete guide that shows you how to connect Prepr to a Next.js project including styling, adaptive content, A/B testing and a preview bar.

At the end of the complete guide, you’ll have a working website with personalization and A/B testing like the images below. You can customize this project to fit the requirements for your web app.

Home page for general website visitors

Dynamic home page

Two variants of a running A/B test on the home page

Home page A/B test

Personalized home page for electric car lovers

Acme lease electric home page

If you can't wait and want to skip ahead, clone the repository on GitHub (opens in a new tab) to run the demo locally or visit our demo website (opens in a new tab) to see it in action. These resources and this guide are based on the latest version of Next.js.

Prerequisites

Make sure the following is in place before getting started:

Now that you know what to expect and have your Prepr environment ready, you can get started with the first step to set up the Next.js project.

Was this article helpful?

We’d love to learn from your feedback