mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-20 16:53:33 +00:00
Had to create a new PR since after the 5.0 merge, #5818 was throwing errors. ## Examples Added - **React Router v7** - Uppy Dashboard with Tus, XHR, and Transloadit , tus server implemented using react-router/express adapter , rest using regular resource routes - This still doesn't have hot reloading in the dev server though , can be added through nodemon - **Next.js** - Uppy Dashboard with Tus, XHR, and Transloadit - **Angular** - Uppy Dashboard and Dashboard Modal with Tus
7 lines
272 B
TypeScript
7 lines
272 B
TypeScript
import { index, type RouteConfig, route } from '@react-router/dev/routes'
|
|
|
|
export default [
|
|
index('routes/_index.tsx'),
|
|
route('api/upload/xhr', 'routes/upload/route.ts'),
|
|
route('api/transloadit-params', 'routes/transloadit-params/route.ts'),
|
|
] satisfies RouteConfig
|