Back to Next Js

A statically generated blog example using Next.js and Drupal

examples/cms-drupal/README.md

16.2.53.2 KB
Original Source

A statically generated blog example using Next.js and Drupal

This example showcases Next.js's Static Generation feature using Drupal as the data source.

Demo

https://cms-drupal.vercel.app

Deploy your own

Once you have configured the Next.js module for Drupal and have access to the environment variables you'll need, deploy the example using Vercel.

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

bash
npx create-next-app --example cms-drupal cms-drupal-app
bash
yarn create next-app --example cms-drupal cms-drupal-app
bash
pnpm create next-app --example cms-drupal cms-drupal-app

Setup Drupal

See the Get Started guide here.

Deploy from Our Template

Alternatively, you can deploy using our template by clicking on the Deploy button below.