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.
function
DruxtBlocksModule : 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'
}
}
object
DruxtBlocksBlockMixin : The DruxtBlocksBlockMixin adds props and computed props to your DruxtBlock wrapper component.
See: DruxtBlocksBlockMixin
Example
import { DruxtBlocksBlockMixin } from 'druxt-blocks'
export default {
mixins: [DruxtBlocksBlockMixin]
}
object
DruxtBlocksRegionMixin : The DruxtBlocksRegionMixin adds props to your DruxtBlock wrapper component.
See: DruxtBlocksRegionMixin
Example
import { DruxtBlocksRegionMixin } from 'druxt-blocks'
export default {
mixins: [DruxtBlocksRegionMixin]
}