# DruxtSiteMixin

Provides Vue.js properties to render Drupal Site components.

Kind: global mixin
Example

<template>
  <div>
    <DruxtBlockRegion
      v-for="region of regions"
      :key="region"
      :name="region"
      :theme="theme"
    />
  </div>
</template>

<script>
import { DruxtSiteMixin } from 'druxt-site'

export default {
  mixins: [DruxtSiteMixin],
}
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

# .props

Vue.js Properties.

Kind: static property of DruxtSiteMixin


# .theme : string

The Drupal theme ID.

Kind: static property of props


# .regions : Array.<string>

The Block region names.

Kind: static property of props