Components
DruxtBlock
The DruxtBlock component renders a Drupal Block by UUID or by its block placement machine name.
While the DruxtBlock component can't automatically render every Drupal block, it does provide the Block settings to a targeted Druxt wrapper component for manual theming.
DruxtBlockRegion
The DruxtBlockRegion component renders visible blocks based on region and theme.
All blocks, including those not visible, are provided as slots for the Druxt Wrapper component.
DruxtBreadcrumb
The DruxtBreadcrumb component renders a list of breadcrumbs based on the active route.
Druxt
Renders the specified Druxt module component, with support for wrapper and inner elements.
DruxtDebug
The DruxtDebug component can be used to render debug information that is visible only when Nuxt is run in development mode.
You can render your debug information through the default slot, or via the json prop to format your data, or a combination of the two.
DruxtDevelTemplate
DruxtModule
The DruxtModule component renders a Druxt module; import and extend the component to build your own module.
The component provides access to the Druxt Wrapper theming and fetch system via the druxt settings object.
DruxtWrapper
Placeholder component for the Druxt Wrapper theming system.
DruxtMenu
The DruxtMenu component renders a Drupal menu using menu link content entities via the core JSON:API (content-created links only), or the complete menu tree, including module-defined links, via the JSON:API Menu Items module.
DruxtMenuItem
Used by the DruxtMenu component to render individual Druxt Wrapper themeable menu items.
DruxtEntity
The DruxtEntity component renders a Drupal Content Entity by JSON:API resource type, UUID, view mode and schema type.
Fields are rendered as DruxtField components, based on the Drupal display mode configuration.
DruxtEntityForm
The DruxtEntityForm component renders a Drupal Content Entity edit form by JSON:API resource type, UUID, view mode and schema type.
Fields are rendered as DruxtField components, based on the Drupal display mode configuration.
DruxtEntityFormButtons
Used by the DruxtEntityForm component to render Druxt Wrapper themeable buttons.
DruxtField
Renders a Drupal field using a component chosen by the field type and formatter settings.
DruxtRouterEntity
Renders the resolved DruxtRouter route as a DruxtEntity component, using the 'full' display mode.
Used by the DruxtRouter to render decoupled Drupal entity routes; it is not intended to be used directly.
DruxtRouter
The DruxtRouter component renders a Drupal decoupled route, or path, using the appropriate Druxt component.
The path /node/1 renders a DruxtEntity component.
The Vue router path is used if no path is given.
DruxtSite
The DruxtSite component renders all available Drupal block regions and content, based on the specified theme.
While Drupal provides placement configuration for blocks, it does not provide any information on where each region should be placed.
Each region is provided as a scoped slot for the Druxt Wrapper component.
DruxtRouterView
Renders a Views route via the DruxtView component.
The DruxtRouter component renders this component automatically for Views routes; the route props are passed through to DruxtView.
DruxtView
The DruxtView component renders Drupal Views using configuration and results provided by the Drupal View and the JSON:API Views module.
The component renders slots for the View's headers, footers, entity results, exposed sorts and filters, and supports contextual filters.
DruxtViewsFilter
Used by the DruxtView component to render individual Druxt Wrapper themeable filter components.
DruxtViewsFilters
Used by the DruxtView component to render a collection of Druxt Wrapper themeable filters.
DruxtViewsPager
Used by the DruxtView component to render a Druxt Wrapper themeable pager.
DruxtViewsSorts
Used by the DruxtView component to render a Druxt Wrapper themeable sort.
Note: The contents of this file were automatically generated by the Druxt Docgen.