@grantjbutler/vuecg

0.2.0 • Public • Published

VueCG

vuecg is an npm package that provides bindings in vue.js for nodecg's replicants.

It automatically listens to replicants you define in the replicants property on your component, and exposes the values to you as computed properties.

Example

<template>
  <div>Count: {{ count }}</div>
</template>

<script>
export default {
    replicants: [
        'count'
    ]
}

Readme

Keywords

Package Sidebar

Install

npm i @grantjbutler/vuecg

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

4.65 kB

Total Files

4

Last publish

Collaborators

  • grantjbutler