Install Drupal

Install Drupal and Next.js module


Start by creating a new site and adding the Next.js module.

Install Drupal

If you have an existing Drupal site, you can skip to the next part.

Start by creating a new Drupal site using composer.

composer create-project drupal/recommended-project drupal-site

Once this is done, you can open the site and proceed with installation.

Add Next.js module

Run the following command to install the Next.js module and dependencies.

composer require drupal/next