Package Exports
- uppy-activestorage-upload
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (uppy-activestorage-upload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
uppy-activestorage-upload
The ActiveStorage Upload plugin handles Ruby on Rails ActiveStorage direct uploads with Uppy.
Example
const Uppy = require('@uppy/core')
const ActiveStorageUpload = require('uppy-activestorage-upload')
const uppy = Uppy()
uppy.use(ActiveStorageUpload, {
directUploadUrl: ... // Rails' active storage direct upload path obtained i.e. via `Rails.app.routes.url_helpers.rails_direct_uploads_path`
})
Installation
$ npm install uppy-activestorage-upload --save
We recommend installing from npm and then using a module bundler such as Webpack, Browserify or Rollup.js.