现代化的上传组件。 https://uppy.io/

Harry Hedger 223f2079ac Fixed build script to compile core il y a 9 ans
bin 223f2079ac Fixed build script to compile core il y a 9 ans
build d87f73a6bc added examples folder il y a 9 ans
examples 783a7fa26a Testing this il y a 9 ans
src 667c01007e Lib restructured il y a 9 ans
test 689ecc18a3 changed test name il y a 9 ans
.babelrc a57389fdc8 Styles and babel config for the future il y a 9 ans
.editorconfig d257f8ff52 Add tests and eslint il y a 9 ans
.eslintrc a57389fdc8 Styles and babel config for the future il y a 9 ans
.gitignore 3adeea07b1 Updated examples build config il y a 9 ans
.travis.yml 1a7fd2985c Pushing intentionally broken build script il y a 9 ans
.zuul.yml d257f8ff52 Add tests and eslint il y a 9 ans
ARCHITECTURE.md dad0da1611 Minor architecture changes il y a 9 ans
CONTRIBUTING.md eb8a772540 Added to example il y a 9 ans
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout il y a 9 ans
README.md c3a83ff870 Update README.md il y a 9 ans
bs-config.js df1648aad3 Refactored npm scripts. il y a 9 ans
classes.es6 480bde9893 Better distinct between argument: plugin and class: plugin il y a 9 ans
package.json 711dc27961 Fix && syntax /cc @hedgerh il y a 9 ans

README.md

transloadit-js-client

A work in progress - nothing to see here.

Design Goals

  • Support for IE10+??
  • Lightweight / easy on dependencies
  • tus.io enabled
  • ES6
  • Robust (retries / resumes for all the things), avoid showing 'weird errors'
  • Themable UI with a beautiful default
  • Compatible with React
  • Small core, modular plugin architecture for everything: (modal / dragdrop / themes/ webcam / google drive / dropbox / etc)
  • Offering sugared shortcuts for novice users

Check open issues for our Minimum Viable Product.

Local Development

First clone and install the project:

git clone git@github.com:transloadit/transloadit-js-client.git
cd transloadit-js-client
npm install

Now to get a sandbox environment set up, type:

npm run preview

This will npm run build the project into ./build, and then serve that directory using a simple static http server.