A template for a Svelte site with TypeScript support hosted on Cloudflare Workers Sites.
The Cloudflare Workers Svelte Template is a simple template for deploying a Svelte site with TypeScript support to Cloudflare Workers Sites. It includes automated deployment using GitHub Actions and offers the ability to customize and enhance the template as needed.
To install the Cloudflare Workers Svelte Template, follow the steps below:
wrangler.toml file.CF_API_TOKEN secret to your GitHub repository, which should be a Cloudflare API Token with the “Edit Cloudflare Workers” template permission.npm install to install the necessary dependencies.npm run dev to start a development server.npm run format to format your code using Prettier.wrangler publish to deploy the Svelte site to Cloudflare Workers Sites.The Cloudflare Workers Svelte Template provides an easy and efficient way to deploy a Svelte site with TypeScript support to Cloudflare Workers Sites. It includes automated deployment, Prettier code formatting, and the ability to customize and expand the template as needed. By following the provided installation guide, developers can quickly get started with building and deploying their Svelte projects on Cloudflare.