Module Description
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' } }
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' } }
Module Link
Project Usage
62
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to create a bridge between Drupal backend and Nuxt.js frontend by providing read-only access to JSON:API resources, support for Views routes, CORS support, and more.
Data Name
druxt