JSPM

vue-drupal-entity

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q21051F
  • License MIT

Render Drupal Entities and fields with Drupal JSON:API Entities schema support.

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>