Newton's Poleless Magnet

    vue2-interact

    0.0.3 • Public • Published

    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

    Keywords

    none

    Install

    npm i vue2-interact

    DownloadsWeekly Downloads

    731

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    863 kB

    Total Files

    13

    Last publish

    Collaborators

    • mateuszrybczonek