Vue trim

Vue.js component for trimming images using Cropper.js

Version: 0.2.0 Updated: 08/04/2019

By: 1000ch License: MIT

Downloads Last 30 Days: 50

Install

npm i vue-trim
yarn add vue-trim

Repository: https://github.com/1000ch/vue-trim

CDNs

bundle.run: https://bundle.run/vue-trim

jsDelivr: https://cdn.jsdelivr.net/npm/vue-trim

unpkg: https://unpkg.com/vue-trim

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

Categories: Vue js
Tags: vue