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, and 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.

In order to make use of this module, your applications need a simple Drupal module that depends on this module and implements an EventSubscriber on the
`SpalpAppIdsAlterEvent::APP_IDS_ALTER` event - see the README for more details.

Supporting organizations: 

Project information

Releases