Skip to content

A starter template for running SvelteKit on Deno Deploy

License

Notifications You must be signed in to change notification settings

denoland/deno-sveltekit-template

Repository files navigation

Deno SvelteKit Template

This template application uses SvelteKit and provides a starting point for using SvelteKit on Deno Deploy.

Local development

Begin by installing the dependencies for the project:

npm install

Start the development server on http://localhost:3000:

npm run dev

Run on Deno Deploy

This repo contains a GitHub workflow configuration to automatically deploy your application when you push to the main branch.

Before deploying for the first time, edit .github/workflows/deploy.yml and include your project ID near the bottom of this file.

Previewing production build

To preview the production version of the application, build the site with this command:

npm run build

Then, run the server:

cd build
deno run -A --unstable index.js

Check out the SvelteKit docs for more information.

License

MIT

About

A starter template for running SvelteKit on Deno Deploy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published