API Documentation

DruxtBlocksModule

blocks

Modules

DruxtBlocksModule : function

The Nuxt.js module function.

Installs the module functionality in a Nuxt application.

DruxtBlocksBlockMixin : object

The DruxtBlocksBlockMixin adds props and computed props to your DruxtBlock wrapper component.

DruxtBlocksRegionMixin : object

The DruxtBlocksRegionMixin adds props to your DruxtBlock wrapper component.

DruxtBlocksModule : function

The Nuxt.js module function.

Installs the module functionality in a Nuxt application.

See: DruxtBlocksModule
Example (nuxt.config.js)

module.exports = {
  modules: [
    'druxt-blocks'
  ],
  druxt: {
    baseUrl: 'https://demo-api.druxtjs.org'
  }
}

DruxtBlocksBlockMixin : object

The DruxtBlocksBlockMixin adds props and computed props to your DruxtBlock wrapper component.

See: DruxtBlocksBlockMixin
Example

import { DruxtBlocksBlockMixin } from 'druxt-blocks'
export default {
  mixins: [DruxtBlocksBlockMixin]
}

DruxtBlocksRegionMixin : object

The DruxtBlocksRegionMixin adds props to your DruxtBlock wrapper component.

See: DruxtBlocksRegionMixin
Example

import { DruxtBlocksRegionMixin } from 'druxt-blocks'
export default {
  mixins: [DruxtBlocksRegionMixin]
}