Giter Club home page Giter Club logo

druxt_drupal's Introduction

DruxtJS

CircleCI

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 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.

Installation

DruxtJS requires a Nuxt.js frontend and a Drupal JSON:API backend:

Drupal

  1. Install Drupal

  2. Download the Drupal DruxtJS module:

    composer require drupal/druxt
  3. Install the DruxtJS module.

  4. Add the "access druxt resources" permission to a user/role.

Nuxt.js

  1. Install Nuxt.js

  2. Install the Nuxt.js DruxtJS Site module:

    npm i druxt-site
  3. Add the module and configuration to nuxt.config.js:

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

druxt_drupal's People

Contributors

decipher avatar briangilbert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.