druxt-layout-paragraphs
Version:
[](https://www.npmjs.com/package/druxt-layout-paragraphs) [](https://github.com/druxt-contrib/druxt-l
28 lines (22 loc) • 595 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const path = require('path');
const DruxtLayoutParagraphMixin = {
props: {
children: {
type: Array,
default: void 0
},
entity: {
type: Object,
required: true
}
}
};
const DruxtLayoutParagraphNuxtModule = function(moduleOptions = {}) {
this.nuxt.hook("components:dirs", (dirs) => {
dirs.push({ path: path.join(__dirname, "components") });
});
};
exports.DruxtLayoutParagraphMixin = DruxtLayoutParagraphMixin;
exports["default"] = DruxtLayoutParagraphNuxtModule;