Skip to content

Render Drupal blocks and block regions in Nuxt with the druxt-blocks components, themed through the Druxt component suggestion system.

Release notes

View source on GitHub

0.17.3 - 2023-07-25

Patch Changes

0.17.2 - 2023-07-05

Patch Changes

  • Fixed issue with axios dependency. (400e4f8)

0.17.1 - 2023-07-05

Patch Changes

0.17.0 - 2022-11-03

Minor Changes

  • Added Vue devtools integration. (#583, 29905ff)
  • Updated missing vue component message with DruxtDevelTemplate tool. (#578, f6b4a66)

Patch Changes

0.16.3 - 2022-08-12

Patch Changes

0.16.2 - 2022-07-08

Patch Changes

0.16.1 - 2022-05-24

Patch Changes

  • Version bump.

0.16.0 - 2022-05-23

Minor Changes

  • Added multilingual support to the DruxtBlock and DruxtBlockRegion component. (be21952)

    example:

    <DruxtBlockRegion name="header" theme="umami" langcode="es" />
    
  • Added support for multilingual paths in DruxtBlockRegion. (be21952)

  • Added langcode to component mixins. (be21952)

Patch Changes

0.15.2 - 2022-04-14

Patch Changes

0.15.1 - 2022-02-23

Patch Changes

0.15.0 - 2022-02-07

Minor Changes

  • Added detailed debug information for the DruxtBlock component. (b79701c)

  • Added watch for id and uuid to the DruxtBlock component. (#429, 1db9584)

  • Improved DruxtBlock and DruxtBlockRegion storybook stories and documentation. (#249, b79701c)

  • Added DruxtBlocksRegionMixin. (#112, 6d763ce)

    import { DruxtBlocksRegionMixin } from "druxt-blocks";
    export default {
      mixins: [DruxtBlocksRegionMixin],
    };
    
  • Added watch for name and theme to the DruxtBlockRegion component. (#429, 34d8397)

Patch Changes

0.14.5 - 2022-01-12

Patch Changes

0.14.4 - 2021-12-30

Patch Changes

0.14.3 - 2021-12-11

Patch Changes

0.14.2 - 2021-12-04

Patch Changes

0.14.1 - 2021-11-24

Patch Changes

0.14.0 - 2021-11-10

Minor Changes

Patch Changes

0.13.1 - 2021-10-10

Patch Changes

0.13.0 - 2021-09-29

Minor Changes

  • Moved $druxtBlocks plugin settings to $druxt.settings.blocks. (dae345e)
  • Added module-level options. (dae345e)
  • Updated storybook integration. (8d28c18)

Patch Changes

0.12.0 - 2021-09-19

Minor Changes

  • Updated component registration method to use the Nuxt components:dirs hook. (715e5ef)
  • Updated to use DruxtDebug component. (2b8c3f3)

Patch Changes

0.11.1 - 2021-09-14

Patch Changes

0.11.0 - 2021-09-13

Minor Changes

  • Moved Vue components out of bundle. (21170fb)

    ⚠ Potential breaking change

    Note: This only effects custom Druxt modules and implementations.

    -import { DruxtBlock } from 'druxt-blocks'
    +import DruxtBlock from 'druxt-blocks/dist/components/DruxtBlock.vue'
    

Patch Changes

0.10.0 - 2021-07-06

Minor Changes

0.9.2 - 2021-06-16

Patch Changes

  • Additional hydration fixes.

0.9.1 - 2021-06-12

Patch Changes

  • Added fetchKey to fix hydration issues.

0.9.0 - 2021-06-06

Minor Changes

  • Added ability to load block by Drupal internal ID.
  • Added ability to filter block query fields.
  • Added Storybook integration.
  • Updated DruxtBlock and DruxtBlockRegion to use DruxtModule.
  • Updated documentation.

0.8.1 - 2021-05-02

Patch Changes

  • Fixed issue with incorrect sorting of blocks in DruxtBlockRegion component.

0.8.0 - 2021-02-10

Minor Changes

  • Added support for DruxtClient and DruxtStore.

0.7.5 - 2021-01-07

Patch Changes

  • Updated dependencies.

0.7.4 - 2020-11-14

Patch Changes

  • Updated dependencies.

0.7.3 - 2020-10-25

Patch Changes

  • Fixed class and style binding.

0.7.2 - 2020-10-23

Patch Changes

  • Added class and style binding.

0.7.1 - 2020-10-17

Patch Changes

  • Fixed issue with Block wrapper.

0.7.0 - 2020-10-16

Minor Changes

  • Added DruxtWrapper support to Block and BlockRegion components.
  • Removed support for DruxtCommonWrapper (deprecated).

0.6.1 - 2020-10-09

Patch Changes

  • Updated dependencies.

0.6.0 - 2020-09-08

Minor Changes

  • Added scoped slots per block to BlockRegion component.

    Example: DruxtBlockRegion wrapper component with scoped slots

    <template>
      <div>
        <slot :name="block_id" />
      </div>
    </template>
    
  • Added support for DruxtCommonWrapper.

0.5.0 - 2020-08-30

Minor Changes

  • Refactored to use Nuxt fetch hook.
  • Updated dependencies.

0.4.1 - 2020-08-20

Patch Changes

  • Updated dependencies.

0.4.0 - 2020-07-09

Minor Changes

  • Added default Page Title block.

0.3.0 - 2020-07-07

Minor Changes

  • Added watch to update DruxtBlockRegion data on route change.

0.2.0 - 2020-07-02

Minor Changes

  • Added default Block Content entity block.

0.1.0 - 2020-07-02

Initial release