rsnext/examples/cms-drupal
Lee Robinson 01e174e5fa
Update all CMS examples dependencies. (#33580)
Updates all CMS updates to use:

- Tailwind 3 (and the corresponding `tailwind.config.js` and PostCSS changes)
- `remark@14` and `remark-html@15` (and the corresponding ESM breaking changes)
- `date-fns` minor bump

Ensured all CMS examples were:

- Using `next/image`
- Not using `as` for `next/link` (no longer needed)
2022-02-04 00:07:35 +00:00
..
components Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
lib Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
pages Add cms-drupal example (#25198) 2021-06-16 20:59:31 +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 Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
next.config.js Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
package.json Update all CMS examples dependencies. (#33580) 2022-02-04 00:07:35 +00:00
postcss.config.js Update dependencies of all CMS examples. (#27001) 2021-07-09 14:43:56 +02:00
README.md Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
tailwind.config.js Update all CMS examples dependencies. (#33580) 2022-02-04 00:07:35 +00: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 or Yarn to bootstrap the example:

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