Vue component that provides a convenient use of the HTML drag and drop interface.
Note: This component is may not ready for use in productive systems, use it carefully.
npm install @csalih/vue-file-drag-and-drop --registry=https://npm.pkg.github.com
yarn add @csalih/vue-file-drag-and-drop --registry=https://npm.pkg.github.com
<template>
<vue-file-drag-and-drop />
</template>
<script>
// if you do have Tailwind 2 you don't need to import this css
import "vue-file-drag-and-drop/dist/vue-file-drag-and-drop.css";
import VueFileDragAndDrop from "vue-file-drag-and-drop";
export default {
name: "HelloWorld",
components: {
VueFileDragAndDrop,
},
};
</script>
Need a documentation? Please create an issue.
yarn install
yarn serve
yarn build
yarn lint