interact.js wrapper component for Vue.js apps
yarn add vue2-interact
import Vue from 'vue'
import { Vue2InteractDraggable } from 'vue2-interact'
export default {
components: {
Vue2InteractDraggable
}
}
yarn watch
Bundle the js and css of to the dist
folder:
yarn build
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