JSPM

  • Created
  • Published
  • Downloads 477
  • Score
    100M100P100Q92709F
  • License MIT

A Bridge between frameworks, NuxtJS in the front, Drupal in the back.

Package Exports

  • druxt

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (druxt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DruxtJS; A bridge between frameworks.

CircleCI Known Vulnerabilities codecov

DruxtJS provides an easy connection between a Drupal JSON:API backend and NuxtJS frontend application.

Install

$ npm install druxt

Usage

Add module to nuxt.config.js

module.exports = {
  modules: [
    'druxt'
  ],
  druxt: {
    baseUrl: 'https://demo-api.druxtjs.org'
  }
}

The Druxt component

Druxt provides a Vue.js component to easily access Drupal's JSON:API data, with a simple Slot based theming system.

<Druxt :module="module" :props-data="propsData" :wrapper="wrapper" />

Get started with the Guide and API Documentation.

Join the community

DruxtJS is an open source project, built by the comunity for the community.

Find support or get involved in building Druxt via our community channels:

Decoupled sites

The DruxtJS Site module provides minimal configuration, decoupled Drupal site functionality.