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

28 lines (22 loc) 595 B
'use strict'; 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;