Create Next.js Site

Create a Next.js site in Drupal


  1. Visit /admin/config/services/next
  2. Click Add Next.js site
  3. Fill in the following values:
  • Label: `Blog`
  • Base URL: `http://localhost:3000`
  • Preview URL: `http://localhost:3000/api/preview`
  • Preview Secret: `preview-secret-here`
  1. Click Save

You have created your first Next.js site.