# ModuleOptions : object

DruxtSite Module options.

Kind: global typedef
Properties

Name Type Default Description
[axios] object Axios instance settings (opens new window).
baseUrl string The Drupal base URL.
[endpoint] string "jsonapi" The Drupal JSON:API endpoint.

Example

{
  axios: {
    auth: { ... },
    headers: { ... },
  },
  baseUrl: 'https://demo-api.druxtjs.org',
  endpoint: 'jsonapi',
}
1
2
3
4
5
6
7
8