vue2-interact
v0.0.3
Published
Interact wrapper component for Vue.js apps
Downloads
1,461
Readme
vue2-interact
interact.js wrapper component for Vue.js apps
Installation
yarn add vue2-interact
Documentation
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