rsnext/examples/cms-drupal
Henrik Wenz 92aafcbcf1
[Docs] Add config types to all examples (#40083)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->

## Summary

- Added jsdoc typing for all examples using `next.config.js`
- Added jsdoc typing for all examples using `tailwind.config.js`

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-08-31 16:41:22 -05:00
..
components docs: update CMS examples to use the new tw grid gaps (#34917) 2022-03-01 07:47:28 -06:00
lib Add cms-drupal example (#25198) 2021-06-16 20:59:31 +00:00
pages [Docs] Update examples to favour functional _document (#39871) 2022-08-23 18:52: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 Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
next.config.js [Docs] Add config types to all examples (#40083) 2022-08-31 16:41:22 -05: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 docs(examples): improve DX while copying command to create new project (#38410) 2022-07-26 21:57:48 -05: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