Provides JSON API Search integration for a Druxt (DRUpal nuXT) project.
$ npm install druxt-search
Add module to nuxt.config.js
module.exports = {
modules: [
'druxt-search'
],
druxt: {
baseUrl: 'https://demo-api.druxtjs.org'
}
}
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. |