SvelteKit environment secrets example

An example of how to use public and private environment variables in SvelteKit.

Copy the sample.env file to .env to run the example:

cp sample.env .env

Then run the app:

pnpm run dev

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes