With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
The Next.js starter kit helps you start your Next.js project with Drupal Starter Kits Headless. It does this with a CMS feature and a node project.
During the Drupal Starter Kits Headless starter kit installation, you can enable the Next.js starter kit.
To enable the Next.js starter kit:
Access your Drupal site as an administrator and click Drupal Starter Kits Wizard.
The system displays the CMS Dashboard page.
In the Headless section, select the Enable Next.js starter kit checkbox.
Enabling nodejs starter-kit
Click Save.
The Next.js starter kit:
The system displays the environment variables for the Next.js application.
Nodejs environment variable
Important
You must copy and store these environment variables in the .env.local file for your Next.js application.
After the starter kit is available, you can modify the configuration to fit your needs. You can rename next.js sites, users, and consumers, and set new consumer secrets.
Using the Next.js starter kit
Important
Currently, site preview is an experimental feature that is only available in the Hybrid mode. It is not available when operating in the Headless mode.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.