README.md 1.14 KB
Newer Older
wim-vantomme's avatar
wim-vantomme committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# vue-image-spike

> A spike to test several vue image component libraries.

## Build Setup

### install dependencies
- npm install

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

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

### build for production and view the bundle analyzer report
- npm run build --report

### run unit tests
- npm run unit

### run all tests
- npm test

## Notes
* A quick spike to work with some vue image manipulation libraries / components.
wim-vantomme's avatar
wim-vantomme committed
27
* Cropping and uploading of images to the server is implemented with the following vue-component: [vue-croppa](https://github.com/zhanziyang/vue-croppa). This component has been implemented since it was the only one with a proper license that is compatible with GPLv3.
wim-vantomme's avatar
wim-vantomme committed
28
29
30
* The ccv library by [LiuLiu](https://github.com/liuliu/ccv) looks promising to add face detection to a profile component. There also exist a [jQuery implementation](https://github.com/jaysalvat/jquery.facedetection) of this library.

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).