Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

pdb_vue allows you to create Drupal blocks using Vue.js. It enables the integration of Vue components into your Drupal site, with support for both Vue 2 and Vue 3.

This is a Vue.js implementation for the Decoupled Blocks module. Blocks built with Vue.js can now easily be added to a site via a module or in a custom theme.

Documentation: https://www.drupal.org/docs/contributed-modules/decoupled-blocks-vuejs

Any ideas to help improve the developer experience in implementing Vue components is welcome.

Videos:
Using pdb_vue in a subtheme (Vue 2): https://vimeo.com/320101066

Vue 3

Vue 3 is now the default version being using on install. On the configuration page, either Vue 2 or 3 versions can now be selected. So if you are still using Vue 2, you can continue doing so. Keep in mind that the Vue community currently has plans to bring Vue 2 to end of life at the end of 2023.

Vue CLI Plugin

For Vue 2, there is a plugin for the Vue CLI that will scaffold out Vue 2 blocks for you and allow you to use a more normal Vue development cycle. It is still a work in progress but should work for most people. https://www.npmjs.com/package/vue-cli-plugin-drupal-pdb

vue add vue-cli-plugin-drupal-pdb

Activity

Total releases
1
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
8.x-1.2 Stable Mar 4, 2026