0.11.3 • Published 2 years ago
druxt-schema v0.11.3
Druxt.js Schema
Drupal Content Entity schema generator for Druxt with support for View and Form displays.
Links
- Druxt.js: https://druxtjs.org
- Documentation: https://druxtjs.org/modules/schema
- Community Discord server: https://discord.druxtjs.org
Install
$ npm install druxt-schema
Usage
Add module to nuxt.config.js
module.exports = {
modules: [
...
'druxt-schema'
],
druxt: {
baseUrl: 'https://example.com',
schema: {
filter: ['node--.*?--view']
}
}
}
Options
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. |
endpoint | string | No | /jsonapi | JSON:API Endpoint of the Drupal installation. |
Druxt Schema options
These options are specific to this module.
Option | Type | Required | Default | Description |
---|---|---|---|---|
schema.filter | array | No | [] | Array of regular expression rules to filter generated schemas. |
0.11.2
2 years ago
0.11.3
2 years ago
0.11.1
3 years ago
0.11.0
3 years ago
0.10.4
3 years ago
0.10.3
3 years ago
0.9.3
3 years ago
0.10.1
3 years ago
0.10.2
3 years ago
0.10.0
3 years ago
0.9.2
4 years ago
0.9.1
4 years ago
0.9.0
4 years ago
0.8.1
4 years ago
0.8.0
4 years ago
0.7.10
4 years ago
0.7.9
4 years ago
0.7.8
4 years ago
0.7.7
4 years ago
0.7.6
4 years ago
0.7.5
4 years ago
0.7.4
4 years ago
0.7.3
4 years ago
0.7.2
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.6.2
4 years ago
0.6.1
4 years ago
0.6.0
5 years ago
0.5.1
5 years ago
0.5.0
5 years ago
0.4.0
5 years ago
0.3.0
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago