# vue-media-diff

> A Vue.js project

Latest version **1.1.0** (published 2017-11-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-media-diff
pnpm add vue-media-diff
yarn add vue-media-diff
bun add vue-media-diff
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-11-10 |
| First published | 2017-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | meikangfu |
| Maintainers | mkfmiku |

## Links

- npm: https://www.npmjs.com/package/vue-media-diff
- npm.io page: https://npm.io/package/vue-media-diff

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.4.4

## Recent versions

- 1.1.0 (latest) — 2017-11-10
- 1.0.0 — 2017-11-09

## README

# vue-media-diff [![Build Status](https://travis-ci.org/MKFMIKU/vue-media-diff.svg?branch=master)](https://travis-ci.org/MKFMIKU/vue-media-diff)

> A component to diff image or video with Vue.js Edit
  Add topics
  
[![forthebadge](http://forthebadge.com/images/badges/uses-js.svg)](http://forthebadge.com)
[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)
  
## Installation

```bash
npm install vue-media-diff -s
```

## Usage
```js
import MediaDiff from './Component.vue';

  export default {
    name: 'app',
    data() {
      return {
        origin: "src/assets/origin.jpg",
        diff: "src/assets/diff.jpg"
      }
    },
    components: {
      MediaDiff
    },
  }
```

```html
<MediaDiff :origin="origin"
           :diff="diff"
           style="width: 540px; height: 400px">
</MediaDiff>
```
![](https://ooo.0o0.ooo/2017/11/10/5a0565569b03f.png)


## Build Setup

``` bash
# install dependencies
npm install

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

# build for production with minification
npm run build
```

---
_Source: https://npm.io/package/vue-media-diff · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
