This module allows site managers to serve single-page applications as pages within a Drupal site. It provides a content type for configuring these applications and exposes their settings via a JSON endpoint, enabling a "progressively decoupled" approach.
This module provides a way for site managers to configure and serve single-page applications as pages in a Drupal site.
See https://capgemini.github.io/drupal/spalp/ for more information on the thinking behind this module.
This approach has been described as “Progressively Decoupled” - see https://dri.es/how-to-decouple-drupal-in-2018
The module defines an App Landing Page content type, which provides the base URL for each app.
All relevant configuration is stored on this node as a single text field containing JSON.
If a JSON Schema is provided, form fields are provided using the JSON forms library.
When viewing the node, a link to a JSON endpoint providing the configuration is added in the page head - your JavaScript application should get its config from this endpoint.
Within the module directory there is an example module showing how to implement this.
See the README for more details.
Ask your assistant about Single Page Application Landing Page
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- content_translation Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.11 | Stable | 9–11 | Jul 29, 2026 | ||
| 2.0.10 | Stable | 9–11 | Jun 12, 2026 | ||
| 2.0.9 | Stable | 9–11 | Jun 10, 2026 | ||
| 2.0.8 | Stable | 9–11 | Jun 9, 2026 | ||
| 2.0.7 | Stable | 9–11 | Jun 9, 2026 | ||
| 2.0.6 | Stable | 9–11 | Jun 4, 2026 | ||
| 2.0.5 | Stable | 9–11 | Jun 2, 2026 | ||
| 2.0.4 | Stable | 9–11 | Jun 1, 2026 | ||
| 2.0.3 | Stable | 9–10 | May 11, 2023 | ||
| 2.x-dev | Dev | 9–11 | May 11, 2023 |