Package Exports
- vue-drupal-entity
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-drupal-entity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Vue <drupal-entity />
Render Drupal Entities and fields with Drupal JSON:API Entities schema support.
This is a proof of concept, documentation is incomplete.
Installation
`$ npm install vue-drupal-entity
Usage
<template>
<drupal-entity :entity="entity" :schema="schema" />
</template>
<script>
import Vue from 'vue'
import VueDrupalEntity from 'vue-drupal-entity'
Vue.use(VueDrupalEntity)
export default {
data: () => ({
entity: {
...
},
schema: {
...
}
})
}
</script>