An open API service indexing awesome lists of open source software.

https://github.com/accforgit/uipx-webpack-plugin

:green_book:UI图片对比插件 - webpack插件版本
https://github.com/accforgit/uipx-webpack-plugin

Last synced: 2 months ago
JSON representation

:green_book:UI图片对比插件 - webpack插件版本

Awesome Lists containing this project

README

        

# uipx-webpack-plugin

![NPM](https://nodei.co/npm/uipx-webpack-plugin.png?downloads=true&downloadRank=true&stars=true)

![img](https://img.shields.io/npm/v/uipx-webpack-plugin.svg) ![img](https://img.shields.io/bundlephobia/minzip/uipx-webpack-plugin.svg) ![img](https://img.shields.io/github/license/accforgit/uipx-webpack-plugin.svg)

UI图片对比插件,帮助开发者更方便地对比 UI 图与实现效果之间的差异

![img](images/demo1.png)

## Example

[live Demo](https://accforgit.github.io/uipx-webpack-plugin/index.html)

## 安装

### npm

```
npm install uipx-webpack-plugin -D
```

### 外链

可以直接通过外链的方式使用:
```html

UIPX({
diffImg: 'http://example.com/example.png',
opacityColorList: [
[255, 255, 255]
]
});