1000ch / vue-trim

Vue.js component for trimming images using Cropper.js.

Home Page:https://1000ch.github.io/vue-trim/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-trim

Vue.js component for trimming images using Cropper.js

Build Status NPM version Dependency Status devDependency Status

Install

npm install --save vue-trim

Usage

You can use <vue-trim> component after importing and registering VueTrim.

<template>
  <vue-trim></vue-trim>
</template>

<script>
import { VueTrim } from 'vue-trim';

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

You can also register it as global component.

import Vue from 'vue';
import { VueTrim } from 'vue-trim';

Vue.component('vue-trim', VueTrim);

License

MIT © Shogo Sensui

About

Vue.js component for trimming images using Cropper.js.

https://1000ch.github.io/vue-trim/


Languages

Language:Vue 46.6%Language:HTML 33.6%Language:JavaScript 19.8%