Druxt support for the Drupal Layout Paragraphs module
- DruxtJS: https://druxtjs.org
- Community Discord server: https://discord.druxtjs.org
- Layout Paragraphs project page: https://www.drupal.org/project/layout_paragraphs
- 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
- Wrapper component support:
$ npm install druxt-layout-paragraphs
Add module to nuxt.config.js
module.exports = {
buildModules: [
'druxt-entity',
'druxt-layout-paragraphs'
],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org'
}
}
- Download, install and setup the Layout Paragraphs module.
- Set the Layout Paragraphs field formatter on the Layout Paragraphs fields.