vue2-interact

Interact wrapper component for Vue.js apps

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue2-interact
29200.0.34 years ago4 years agoMinified + gzip package size for vue2-interact in KB

Readme

vue2-interact
interact.js wrapper component for Vue.js apps

Installation

yarn add vue2-interact

Documentation

Go to docs and demo

Usage

import Vue from 'vue'
import { Vue2InteractDraggable } from 'vue2-interact'

export default {
  components: {
    Vue2InteractDraggable
  }
}

Development

Launch visual tests

yarn watch

Build

Bundle the js and css of to the dist folder:
yarn build

Publishing

The prepare hook will ensure dist files are created before publishing. This way you don't need to commit them in your repository.
# Bump the version first
# It'll also commit it and create a tag
npm version
# Push the bumped package and tags
git push --follow-tags
# Ship it 🚀
npm publish

License

MIT