Drupal integration

Pages, Routes

By default, all page requests are forwarded to Drupal. Thus Drupal paths handling, routing, path-alias handling as well as 404 or 403 page handling all work out of the box.

Metatags

The Lupus custom elements renderer module integrates with the Metatags module and provides the metatags of a page as part of the API response. That way, metatags and link relations work out of the box.

The Lupus custom elements renderer module integrates with Drupal's breadcrumbs handling and simply provides the breadcrumbs of page as part of its API response. Thus Drupal breadcrumbs work out of the box.

Authentication

Since page requests are processed by Drupal as usual, Drupal's authentication and session handling stays full working. Thus when requests provide an authentication cookie, authentication just works. See Architecture for documentation on nicely working setups.

Messages

The Lupus custom elements renderer module integrates with Drupal's message handling and simply provides the message of page as part of its API response. Thus Drupal messages work out of the box.

The Nuxt.js Drupal Custom Elements connector modules integrates with the the Rest menu items module. When installed and activated, menus work out of the box with the provided menu-navigation Vue component.

Layouts, Blocks

The Custom Elements module provides support for Drupal's layout builder For that, blocks may build their content using custom elements. Please refer to the Drupalcon Europe 2020 session recording for some code examples.

Preview

The Lupus custom elements renderer module supports rendering preview routes as usual. However, those previews currently need to be integrated in the admin backend manually.