API Documentation
DruxtSchema
Modules
- DruxtSchema :
class The core module functionality.
Provides methods for generating Druxt.js Schema files from the Drupal JSON:API.
- DruxtSchemaMixin :
object Vue.js Mixin.
Adds required props and methods for lazy-loaded Schema support to custom Vue.js components.
- DruxtSchemaStore :
function The Vuex store module.
Contains actions for interacting with and caching the generated Schema files.
DruxtSchema : class
The core module functionality.
Provides methods for generating Druxt.js Schema files from the Drupal JSON:API.
See: DruxtSchema
Example
import { DruxtSchema } from 'druxt-schema'
const druxtSchema = new DruxtSchema('https://example.com', {})
DruxtSchemaMixin : object
Vue.js Mixin.
Adds required props and methods for lazy-loaded Schema support to custom Vue.js components.
See: DruxtSchemaMixin
Example
<script>
import { DruxtSchemaMixin } from 'druxt-schema'
export default {
mixins: [DruxtSchemaMixin]
}
</script>
DruxtSchemaStore : function
The Vuex store module.
Contains actions for interacting with and caching the generated Schema files.
See: DruxtSchemaStore
module.exports() ⏏
Default function to alert user to incorrectly installed module.
This was added as part of the @nuxt/kit update due to breaking changes.
Kind: Exported function