Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

nsftx/vuetify-uploader

Repository files navigation

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>