rsnext/examples/cms-drupal
Steven 68b51415ec
chore: update examples to use draft mode (#49720)
This PR updates the examples to use Draft Mode introduced in [Next.js 13.4](https://nextjs.org/blog/next-13-4)

fix NEXT-1153
2023-05-13 07:12:56 +00:00
..
components Run next/link codemod for Next.js 13 on examples (#41913) 2022-10-30 21:00:45 +01:00
lib Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
pages chore: update examples to use draft mode (#49720) 2023-05-13 07:12:56 +00:00
public/favicon Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
styles Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
.env.local.example Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
.gitignore Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
next.config.js [Docs] Add config types to all examples (#40083) 2022-08-31 16:41:22 -05:00
package.json BREAKING CHANGE: Remove React 17 (#41629) 2022-10-21 22:20:36 +00:00
postcss.config.js Update dependencies of all CMS examples. (#27001) 2021-07-09 14:43:56 +02:00
README.md chore(examples): Add dotCMS example (#38214) 2022-10-01 15:26:13 +02:00
tailwind.config.js [Docs] Add config types to all examples (#40083) 2022-08-31 16:41:22 -05:00

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:

Deploy with Vercel

How to use

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

npx create-next-app --example cms-drupal cms-drupal-app
yarn create next-app --example cms-drupal cms-drupal-app
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.

Deploy with Vercel