A bridge between frameworks, Drupal in the back, Nuxt.js in the front.
For a full description of the module, visit the project page.
Submit bug reports and feature suggestions, or track changes in the issue queue.
- Requirements
- Installation
- Configuration
- Features
- Maintainers
This module requires the following modules:
DruxtJS requires a Nuxt.js frontend and a Drupal JSON:API backend.
- Install Drupal.
- Download the Drupal DruxtJS module:
composer require drupal/druxt
- Install the DruxtJS module.
- Add the "access druxt resources" permission to a user/role.
- Install Nuxt.js.
- Install the Nuxt.js DruxtJS 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' } }
Once installed, DruxtJS requires no additional configuration. The "access druxt resources" permission provides read-only access to all JSON:API resources required by the DruxtJS frontend.
- A single permission for read-only access to all JSON:API resources required by DruxtJS.
- Support for Views routes via the JSON:API Views and Decoupled Router modules.
- Support for Contact form routes via the Decoupled Router module.
- Improved support for Menu items via the JSON:API Menu Items module.
- Condition plugin bypass for Block resources.
- Enables Cross-Origin Resource Sharing (CORS) support.
- Ensures EntityViewDisplay configuration available for DruxtSchema module.
- Stuart Clark - Deciphered