mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 11:14:05 +00:00
* What is happening "*" * Instead of re-creating i18nInit, we could just make it part of the BasePlugin * set plugin title and allow changing it from locale * remove i18nInit method, since we now include it in BasePlugin * All provider titles should come from locale * Update en_US.js * make translator private //cc @aduh95 * init locale after calling setOptions * Update en_US.js * Update packages/@uppy/core/src/BasePlugin.js Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> * Update packages/@uppy/core/src/index.js Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> * Bind `i18n` functions * Remove duplicate i18nInit — it’s in BasePlugin already * fix formatting * fix name * Update en_US.js Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> |
||
|---|---|---|
| .. | ||
| client | ||
| output | ||
| server | ||
| .gitignore | ||
| babel.config.js | ||
| index.html | ||
| package.json | ||
| readme.md | ||
Uppy + Companion + Custom Provider Example
This example uses @uppy/companion with a dummy custom provider. This serves as an illustration on how integrating custom providers would work
Run it
To run this example, make sure you've correctly installed the repository root:
npm install
npm run build
That will also install the dependencies for this example.
Then, again in the repository root, start this example by doing:
npm run example custom-provider