现代化的上传组件。 https://uppy.io/
|
il y a 8 ans | |
---|---|---|
bin | il y a 8 ans | |
example | il y a 8 ans | |
playground | il y a 9 ans | |
src | il y a 8 ans | |
test | il y a 8 ans | |
website | il y a 8 ans | |
.babelrc | il y a 9 ans | |
.browsersync.js | il y a 9 ans | |
.editorconfig | il y a 9 ans | |
.eslintignore | il y a 9 ans | |
.eslintrc | il y a 9 ans | |
.gitignore | il y a 8 ans | |
.travis.yml | il y a 8 ans | |
CHANGELOG.md | il y a 8 ans | |
CONTRIBUTING.md | il y a 9 ans | |
LICENSE | il y a 9 ans | |
Makefile | il y a 9 ans | |
README.md | il y a 8 ans | |
SERVER-PLAN.md | il y a 9 ans | |
UPPY-CALL.md | il y a 8 ans | |
env.example.sh | il y a 9 ans | |
package.json | il y a 8 ans | |
pre-commit.sample | il y a 9 ans |
Uppy is (going to be) a cool JavaScript file uploader that fetches files for you from local disk, Google Drive, Dropbox, Instagram, remote URLs, cameras and other exciting locations, and then uploads them to wherever you want. Uppy is being developed by the Transloadit team because we want file uploading experience to be better — both for users and developers.
Check out uppy.io for docs, API, examples and stats.
:warning: Don’t use Uppy in production just yet, we’re working on it
It’s easy to start using Uppy, we recommend installing from npm with npm install uppy
and then:
import Uppy from 'uppy/core'
import { DragDrop, Tus10 } from 'uppy/plugins'
const uppy = new Uppy({wait: false})
const files = uppy
.use(DragDrop, {target: '#upload-target'})
.use(Tus10, {endpoint: 'http://master.tus.io:8080/files/'})
.run()
But if you like, you can also use a pre-built bundle, in that case Uppy
will attach itself to the global window
object:
<script src="uppy.min.js"></script>
<script>
var uppy = new Uppy.Core({locales: Uppy.locales.ru_RU, debug: true});
uppy.use(Uppy.plugins.DragDrop, {target: '.UppyDragDrop'});
uppy.use(Uppy.plugins.Tus10, {endpoint: 'http://master.tus.io:3020/files/'});
uppy.run();
</script>
website/src/guide/contributing.md
website/src/api/architecture.md
CHANGELOG.md