Need private packages and team management tools?Check out npm Teams »

@nylira/vue-key-values

1.1.1 • Public • Published

vue-key-values

KeyValue component and KeyValues wrapper component for Vue 2.

Installation

npm install @nylira/vue-key-values

Usage

<template>
  <key-values>
    <key-value>
      <div slot="value">1337</div>
      <div slot="key">People</div>
    </key-value>
    <key-value>
      <div slot="value">506</div>
      <div slot="key">Incidents</div>
    </key-value>
  </key-values>
</template>

<script>
  import { KeyValue, KeyValues } from '@nylira/vue-key-values'
  export default {
    name: 'key-values-demo',
    components: {
      KeyValue, KeyValues
    }
  }
</script>

Install

npm i @nylira/vue-key-values

DownloadsWeekly Downloads

3

Version

1.1.1

License

MIT

Last publish

Collaborators

  • avatar