svelte-kit-file-upload Svelte Themes

Svelte Kit File Upload

Full example with a simple form, upload client & server side

svelte-kit-file-upload

Full example with a simple form, the script client-side, and the upload server-side.

The project uses these packages:
adapter-node, busboy and fs-extra.

See also the Yanick repo using multer and uppy.

There isn't a lot of CSS and form design here. Not very fun but it works!

Run the server in preview / production mode.

In preview or production mode, a polka server is used. See the src/server.mjs file.
For more information on the middleware, see the adapter doc.

With npm: npm run preview
With node: node ./src/server.mjs

Top categories

Loading Svelte Themes