npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

vue-trim

0.2.0 • Public • Published

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

Keywords

install

npm i vue-trim

Downloadsweekly downloads

1

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability