Skip to content

Out-of-the-box decoupled Drupal sites with DruxtSite, wiring layout, blocks, menus and content together from one Nuxt module.

ModuleOptions

View source on GitHub

ModuleOptions : object

DruxtSite Module options.

Kind: global typedef
Properties

NameTypeDefaultDescription
[axios]objectAxios instance settings.
baseUrlstringThe Drupal base URL.
[endpoint]string"jsonapi"The Drupal JSON:API endpoint.

Example

{
  axios: {
    auth: { ... },
    headers: { ... },
  },
  baseUrl: 'https://demo-api.druxtjs.org',
  endpoint: 'jsonapi',
}