ModuleOptions
ModuleOptions : object
DruxtSite Module options.
Kind: global typedef
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| [axios] | object | Axios instance settings. | |
| 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',
}