1.1.0 • Published 7 years ago

vue-media-diff v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

vue-media-diff Build Status

A component to diff image or video with Vue.js Edit Add topics

forthebadge forthebadge

Installation

npm install vue-media-diff -s

Usage

import MediaDiff from './Component.vue';

  export default {
    name: 'app',
    data() {
      return {
        origin: "src/assets/origin.jpg",
        diff: "src/assets/diff.jpg"
      }
    },
    components: {
      MediaDiff
    },
  }
<MediaDiff :origin="origin"
           :diff="diff"
           style="width: 540px; height: 400px">
</MediaDiff>

npm.io

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build
1.1.0

7 years ago

1.0.0

7 years ago