Next.js generator
2 sites
Security covered
Drupal 10–11
The nextgen module provides Drush commands to generate Next.js code. It can create Next.js components for Drupal entities and generate Next.js pages from Drupal Views or JSON:API data, supporting the Next.js App router.
The nextgen module is a Next.js code generator by drush gen command.
Base Next.js code is https://github.com/cooldrupal/drext.
Generator commands:
- Generation Next.js component for entity:
drush gen next-entity-component
Entity type supporting:- string
- basic_string
- text_default
- image
- Generation Next.js pages from Views pages (Next.js App router):
drush gen next-view-page
Page parameters:- Path
- Title
- Pager options
- Exposed filters (taxonomy based only)
- Generation Next.js pages from JSON:API pages (Next.js App router):
drush gen next-jsonapi-page
Page parameters:- Path
- Title
Recommended projects:
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.1.2 | Stable | 10–11 | Jun 17, 2026 | ||
| 1.1.1 | Stable | 10–11 | Oct 12, 2025 | ||
| 1.1.x-dev | Dev | 10–11 | Oct 12, 2025 | ||
| 1.1.0 | Stable | 10–11 | Add Component Entity generation | Sep 21, 2025 | |
| 1.0.0 | Stable | 10–11 | Aug 17, 2025 | ||
| 1.0.0-beta3 | Pre-release | 10–11 | Aug 6, 2025 | ||
| 1.0.0-beta2 | Pre-release | 10–11 | Jul 30, 2025 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Jul 25, 2025 | ||
| 1.0.0-alpha2 | Pre-release | 10–11 | Jul 20, 2025 | ||
| 1.0.0-alpha1 | Pre-release | 10–11 | Jul 8, 2025 | ||
| 1.0.x-dev | Dev | 10–11 | Jul 3, 2025 |