Skip to content
Proyek

Tentang

Panduan tentang cara mengunggah dan memproses file besar (menggunakan Vue.js untuk frontend dan Node.js untuk backend)

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Implement Large File Upload and Resume Feature

English | 中文

Blog

Node14 is recommended

To retry the upload, you need to delete the file in /target directory, otherwise the upload will succeed directly because the server cache the file

download demo file: https://v0c98mphqw.feishu.cn/file/boxcnZ34jCyQziXxsS9NaV0zfre

Frontend

  • Vue@2
  • Element-ui
  • Blob#slice: file slice
  • FileReader + WebWorker + spark-md5: create file hash
  • xhr: send formData

Backend

  • Nodejs@14
  • multiparty: resolve formData

start

npm install
npm run start

Jelajahi proyek terkait

Memuat…