This is not a complete component but rather a starting point to customize something more complex. They are examples about how to allow users drop images in the browser in a Vue app. There are two flavuors:
DropAnImage
to allow one imageDropImages
allows many images to be dropped
<template>
<div id="app">
<DropAnImage />
</div>
</template>
<script>
import DropAnImage from './components/DropAnImage.vue'
export default {
components: {
DropAnImage
}
}
</script>
npm install
npm run serve
npm run build
npm run lint