druxt-layout-paragraphs

0.4.1 • Public • Published

DruxtLayoutParagraphs

npm CI Known Vulnerabilities codecov

Druxt support for the Drupal Layout Paragraphs module

Links

Features

  • Layout Paragraphs field wrapper.
  • DruxtLayoutParagraph component, auto referenced by field wrapper.
    • Wrapper component support:
      • DruxtLayoutParagraph[Layout]
      • DruxtLayoutParagraphDefault
    • Slots per region, e.g. top, first, second, bottom

Install

$ npm install druxt-layout-paragraphs

Nuxt.js

Add module to nuxt.config.js

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

Drupal

  1. Download, install and setup the Layout Paragraphs module.
  2. Set the Layout Paragraphs field formatter on the Layout Paragraphs fields. Layout Paragraphs field formatter

Package Sidebar

Install

npm i druxt-layout-paragraphs

Weekly Downloads

105

Version

0.4.1

License

none

Unpacked Size

11.2 kB

Total Files

6

Last publish

Collaborators

  • deciphered