{"id":13937989,"url":"https://github.com/TerryZ/v-uploader","last_synced_at":"2025-07-20T00:31:39.753Z","repository":{"id":49011195,"uuid":"131277712","full_name":"TerryZ/v-uploader","owner":"TerryZ","description":"A Vue2 plugin make files upload simple and easier, single file upload with image preview, multiple upload with drag and drop","archived":false,"fork":false,"pushed_at":"2022-06-29T03:11:12.000Z","size":767,"stargazers_count":237,"open_issues_count":10,"forks_count":50,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-10T02:54:35.477Z","etag":null,"topics":["file-upload","fine-uploader","javascript","multiple-files-upload","uploader","vue","vuejs2"],"latest_commit_sha":null,"homepage":"https://terryz.github.io/vue/#/upload","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TerryZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-27T09:46:59.000Z","updated_at":"2024-08-21T10:47:18.000Z","dependencies_parsed_at":"2022-09-07T11:51:40.112Z","dependency_job_id":null,"html_url":"https://github.com/TerryZ/v-uploader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TerryZ/v-uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TerryZ","download_url":"https://codeload.github.com/TerryZ/v-uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerryZ%2Fv-uploader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048518,"owners_count":23868738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-upload","fine-uploader","javascript","multiple-files-upload","uploader","vue","vuejs2"],"created_at":"2024-08-07T23:04:09.201Z","updated_at":"2025-07-20T00:31:34.742Z","avatar_url":"https://github.com/TerryZ.png","language":"Vue","funding_links":[],"categories":["Vue","UI组件","Components \u0026 Libraries","UI Components [🔝](#readme)","UI Components"],"sub_categories":["形成","UI Components","Form"],"readme":"\u003cbr\u003e\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://terryz.gitee.io/image/v-uploader/v-uploader-single.png\" alt=\"v-uploader\"\u003e\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003ev-uploader\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  A \u003cstrong\u003eVue2\u003c/strong\u003e plugin make files upload simple and easier, \u003cbr\u003e\n  single file upload with image preview, multiple upload with drag and drop\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/v-uploader\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/v-uploader.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://mit-license.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://app.fossa.io/projects/git%2Bgithub.com%2FTerryZ%2Fv-uploader?ref=badge_shield\" alt=\"FOSSA Status\"\u003e\u003cimg src=\"https://app.fossa.io/api/projects/git%2Bgithub.com%2FTerryZ%2Fv-uploader.svg?type=shield\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/v-uploader\"\u003e\u003cimg src=\"https://img.shields.io/npm/dy/v-uploader.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Examples and Documentation\n\nExplorer on\n\n- [English site](https://terryz.github.io/vue/#/upload)\n- [国内站点](https://terryz.gitee.io/vue/#/upload)\n\n## Plugin preview\n\nSingle file upload with image preview\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://terryz.github.io/image/v-uploader/v-uploader-single.png\" alt=\"v-uploader-single\" \u003e\u003c/p\u003e\n\nMultiple files upload with drag and drop\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://terryz.github.io/image/v-uploader/v-uploader-multiple.png\" alt=\"v-uploader-multiple\" \u003e\u003c/p\u003e\n\n## Installation\n\n```\nnpm i v-uploader -S\n```\n\nInclude and install plugin in your `main.js` file.\n\n```js\nimport Vue from 'vue'\nimport Uploader from 'v-uploader'\nimport { DialogAlert } from 'v-dialogs'\n\n/**\n * v-uploader plugin global config\n */\nconst uploaderConfig = {\n  uploadFileUrl: 'https://some-site/upload',\n  deleteFileUrl: 'https://some-site/delete',\n  showMessage: (vue, message) =\u003e {\n    // using v-dialogs to display error message\n    DialogAlert(message, { messageType: 'error' })\n  }\n}\n\n// Globally install plugin with options\nVue.use(Uploader, uploaderConfig)\n```\n\nUse **[v-dialogs](https://github.com/TerryZ/v-dialogs)** plugin to display message for example\n\n## Dependencies\n\n- [fine-uploader](https://github.com/FineUploader/fine-uploader)\n- [holderjs](https://github.com/imsky/holder)\n\n## License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FTerryZ%2Fv-uploader.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FTerryZ%2Fv-uploader?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTerryZ%2Fv-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTerryZ%2Fv-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTerryZ%2Fv-uploader/lists"}