deno-svelte Svelte Themes

Deno Svelte

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

Top categories

Loading Svelte Themes