s3-vuetify-file-browser
v1.1.17
Published
Open source file manager component for Vue.js using S3 presigned URLs. Requires Vuetify v2.0 or higher
Downloads
29
Readme
S3 Vuetify File Browser
Open source file manager component for Vue.js. Requires Vuetify v2.0 or higher.
This version uses S3 presigned URLs to list, get, upload data an create folders.
All presigned URLs must be signed by a server with secure access to S3, they are then fetched from the endpoints.
Forked from: here
Usage
npm i s3-vuetify-file-browser
<template>
<file-browser :endpoints="endpoints" />
</template>
<script>
import FileBrowser from "s3-vuetify-file-browser";
export default {
data: () => ({
endpoints: {
list: {
url: "document/url",
method: "get",
},
upload: {
url: "document/uploadurl",
method: "put",
},
download: {
url: "document/downloadurl",
method: "get",
},
download: {
url: "document",
method: "delete",
},
},
}),
components: {
FileBrowser,
},
};
</script>