DruxtRouterMixin
DruxtRouterMixin
The DruxtRouterMixin Vue.js mixin provides the props required for a Router Druxt wrapper component.
Kind: global mixin
Example
<template>
<div>
<slot />
</div>
</template>
<script>
import { DruxtRouterMixin } from 'druxt-router'
export default {
mixins: [DruxtRouterMixin]
}
</script>
.props
Vue.js Properties.
Kind: static property of DruxtRouterMixin
.langcode : string
The JSON:API resource language code.
Kind: static property of props
.path : string
The Decoupled router path.
Kind: static property of props
.route : object
The Decoupled router object.
Kind: static property of props