UNPKG

druxt-layout-paragraphs

Version:

[![npm](https://badgen.net/npm/v/druxt-layout-paragraphs)](https://www.npmjs.com/package/druxt-layout-paragraphs) [![CI](https://github.com/druxt-contrib/druxt-layout-paragraphs/actions/workflows/ci.yml/badge.svg)](https://github.com/druxt-contrib/druxt-l

23 lines (19 loc) 475 B
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 };