druxt-search
v0.1.1
Published
Provides JSON API Search integration for a Druxt (DRUpal nuXT) project.
Downloads
24
Readme
<druxt-search />
Provides JSON API Search integration for a Druxt (DRUpal nuXT) project.
Install
$ npm install druxt-search
Usage
Add module to nuxt.config.js
module.exports = {
modules: [
'druxt-search'
],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org'
}
}
Options
Base Druxt options
These options are available to all Druxt modules.
| Option | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| axios
| object
| No | {}
| Axios instance settings. |
| baseUrl
| string
| Yes | null
| Base URL for the Drupal installation. |