Lupus Client-Side Rendering (CSR)
Lupus CSR is a Drupal base theme that allows you to serve a pre-built single-page application (SPA) directly from Drupal, enabling client-side rendering without a separate frontend server. It integrates with Lupus Decoupled Drupal and can be used as a base for sub-themes or configured directly through theme settings.
Overview
Lupus CSR is a Drupal base theme that enables client-side rendering (CSR) with Lupus Decoupled Drupal. It serves a pre-built SPA (e.g. Nuxt) directly from Drupal. No separate frontend server needed.
How it works
The Drupal output is replaced with the pre-built frontend application, which loads the frontend JavaScript and handles everything client-side.
Usage
- As a base theme — Create a sub-theme that ships a
dist/directory with your SPA build output. Configure replacements and settings in the sub-theme'sinfo.yml. - Directly via theme settings — Use Lupus CSR itself and configure the dist directory, index file, and replacements via the theme settings form.
Features
- Integrates nicely with Lupus Decoupled Drupal, but does not require it.
- Custom Elements preview provider configuration for Drupal Canvas ExtJS integration
- Default: It includes a ready-to-use Nuxt starter example in the
examples/directory. This is configured by default.
Requirements
- Drupal 10 or 11
SEO note
Client-side rendering means pages are rendered via JavaScript in the browser. For production sites where SEO matters, use server-side rendering (SSR) instead.
Support & Contribution
- Reach out at #lupus-decoupled at the Drupal Slack! We are happy to help you get started!
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.0.2 | Stable | 10–11 | update Nuxt starter for canvas content templates | Apr 29, 2026 | |
| 1.0.1 | Stable | 10–11 | update Nuxt starter | Apr 14, 2026 | |
| 1.0.0 | Stable | 10–11 | First release with nuxt-starter example | Apr 8, 2026 | |
| 1.0.0-beta3 | Pre-release | 10–11 | Mar 26, 2026 | ||
| 1.0.0-beta2 | Pre-release | 10–11 | Mar 23, 2026 | ||
| 1.0.0-beta1 | Pre-release | 10–11 | Mar 11, 2026 | ||
| 1.x-dev | Dev | 10–11 | 1.x development snapshot | Mar 3, 2026 |