# Getting started

DruxtJS requires a NuxtJS frontend and a Drupal JSON:API backend:

# Drupal

  1. Install Drupal (opens new window)

  2. Download the Druxt module (opens new window):

    composer require drupal/druxt
    
    1
  3. Install the module: Install the module

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

# NuxtJS

  1. Install Nuxt (opens new window)

  2. Install the Druxt module (opens new window):

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

    module.exports = {
      modules: [
        'druxt'
      ],
      druxt: {
        baseUrl: 'https://demo-api.druxtjs.org'
      }
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
Last Updated: 10/18/2020, 9:00:06 PM