Install Drupal
Install Drupal and Next.js module
Install Drupal
Start by creating a new Drupal site using composer.
If you have an existing Drupal site, you can skip to the next part.
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