Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Decoupled Blocks: Vue.js

The Decoupled Blocks: Vue.js module 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.

The Decoupled Blocks module is required for this to work.

Getting Started

Turn on Development Mode to see example blocks using Vue.js

Simple Per-block Vue Instances

Create a simple vue instance per block.

Vue Components

Make each block a Vue Component for more versatile use.

Advanced Stuff

Work with more advanced tools such as Webpack and Vuex.

Override Javascript libraries

Override the default vue.js or vuex.js libraries.

Guide maintainers

segovia94's picture