Image clip component based on vue2
Switch branches/tags
Nothing to show
Clone or download
Latest commit b8c1662 Apr 30, 2018
Permalink
Failed to load latest commit information.
build migrate to vue 2 Mar 29, 2017
config migrate to vue 2 Mar 29, 2017
src update accept image type Jun 7, 2017
static ... Mar 29, 2017
.babelrc migrate to vue 2 Mar 29, 2017
.editorconfig ... Mar 29, 2017
.eslintignore migrate to vue 2 Mar 29, 2017
.eslintrc.js migrate to vue 2 Mar 29, 2017
.gitignore migrate to vue 2 Mar 29, 2017
.postcssrc.js migrate to vue 2 Mar 29, 2017
LICENSE Initial commit Jun 29, 2016
README.md Update README.md Apr 30, 2018
index.html migrate to vue 2 Mar 29, 2017
package.json migrate to vue 2 Mar 29, 2017

README.md

vue-image-clip

Image clip component based on vue2. Try the demo

Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

Usage

Just add CustomCropper.vue and SelectBox.vue to your project.

CustomCropper.vue require SelectBox.vue, you need to put them in the same directory

<template>
  <div id="app">
    <Custom-Cropper></Custom-Cropper>
  </div>
</template>

<script>
  import CustomCropper from './YourPath/CustomCropper';

  export default {
    components: {
      CustomCropper
    }
  };
</script>

License

MIT