vue-drupal-entity

0.1.0 • Public • Published

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>

Package Sidebar

Install

npm i vue-drupal-entity

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

21.1 kB

Total Files

7

Last publish

Collaborators

  • deciphered