Skip to content

An example of uploading an image file to the server in SvelteKit

Notifications You must be signed in to change notification settings

eltigerchino/svelte-kit-upload-image

Repository files navigation

SvelteKit node + image uploading

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can run the production build with npm run start.

This example uses the node adapter. https://kit.svelte.dev/docs/adapter-node

About

An example of uploading an image file to the server in SvelteKit

Resources

Stars

Watchers

Forks