druxt-layout-paragraphs
Version:
[](https://www.npmjs.com/package/druxt-layout-paragraphs) [](https://github.com/druxt-contrib/druxt-l
23 lines (19 loc) • 475 B
JavaScript
import { join } from '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: join(__dirname, "components") });
});
};
export { DruxtLayoutParagraphMixin, DruxtLayoutParagraphNuxtModule as default };