# next-drupal
**Repository Path**: yak3/next-drupal
## Basic Information
- **Project Name**: next-drupal
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: 744-make-subrequests-optional
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-07-29
- **Last Updated**: 2025-07-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Next.js for Drupal
Next-generation front-end for your Drupal site.
## Demo
https://demo.next-drupal.org
## Documentation
https://next-drupal.org
## Deploy to Vercel
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fchapter-three%2Fnext-drupal-basic-starter&env=NEXT_PUBLIC_DRUPAL_BASE_URL,NEXT_IMAGE_DOMAIN&envDescription=Learn%20more%20about%20environment%20variables&envLink=https%3A%2F%2Fnext-drupal.org%2Fdocs%2Fenvironment-variables&project-name=next-drupal&demo-title=Next.js%20for%20Drupal&demo-description=A%20next-generation%20front-end%20for%20your%20Drupal%20site.&demo-url=https%3A%2F%2Fdemo.next-drupal.org&demo-image=https%3A%2F%2Fnext-drupal.org%2Fimages%2Fdemo-screenshot.jpg)
## Example
A page with all "Article" nodes.
```jsx
import { DrupalClient } from "next-drupal"
const drupal = new DrupalClient("https://cms.next-drupal.org")
export default function BlogPage({ articles }) {
return (
{articles?.length
? nodes.map((node) => (
{node.title}
))
: null}
)
}
export async function getStaticProps(context) {
const articles = await drupal.getResourceCollectionFromContext(
"node--article",
context
)
return {
props: {
articles,
},
}
}
```
## Supporting organizations
Development sponsored by [Chapter Three](https://chapterthree.com)
## Contributing
If you're interested in contributing to Next.js for Drupal, please read the [contributing guidelines](https://github.com/chapter-three/next-drupal/blob/main/CONTRIBUTING.md) before submitting a pull request.