A bridge between frameworks, Drupal in the back, Nuxt.js in the front.
Features
- A single permission for read-only access to all JSON:API resources required by Druxt.
- Support for Views routes via the JSON:API Views and Decoupled Router modules.
- Condition plugin bypass for Block resources.
- Enables Cross-Origin Resource Sharing (CORS) support.
Installation
Druxt requires a Nuxt frontend and a Drupal JSON:API backend:
Drupal
- Install Drupal
-
Download the Drupal DruxtJS module:
composer require drupal/druxt -
Install the Druxt module.
-
Add the "access druxt resources" permission to a user/role.
Nuxt.js
- Install Nuxt
-
Install the Druxt Site module:
npm i druxt-site -
Add the module and configuration to
nuxt.config.js:module.exports = { modules: [ 'druxt-site' ], druxt: { baseUrl: 'https://demo-api.druxtjs.org' } }
Supporting organizations:
Development
Project information
- Project categories: Decoupled
- Ecosystem: JSON:API
45 sites report using this module
- Created by deciphered on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.


