Skip to content

veraGe/vue-image-clip

 
 

Repository files navigation

vue-image-clip

Image clip component based on vue2. Try the demo

If you want to use vue1, check out tag v1.0

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

About

Image clip component based on vue2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 50.6%
  • JavaScript 48.8%
  • HTML 0.6%