vue-trim
v0.2.0
Published
Vue.js component for trimming images using Cropper.js
Downloads
2
Readme
vue-trim
Vue.js component for trimming images using Cropper.js
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);