nsftx / vuetify-uploader

Upload component for Vuetify framework
MIT License
5 stars 1 forks source link

npm Build Status codebeat badge codecov Greenkeeper badge

vuetify-uploader

Upload component for Vuetify framework

Installation

# npm
npm install @nsoft/vuetify-uploader

Using

Import

import Vue from 'vue';
import { VUploader } from '@nsoft/vuetify-uploader';
import App from './App';

Vue.config.productionTip = false;
Vue.use(VUploader);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
});

Import locally

import { VUploader } from '@nsoft/vuetify-uploader';

export default {
  name: 'app',
  components: {
    VUploader,
  },
};

Use in template

<template>
  <div id="app">
    <VUploader/>
  </div>
</template>