Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazcod/cloudflare-workers-svelte
Example repository for running a sveltejs/sveltekit website on Cloudflare Workers.
https://github.com/hazcod/cloudflare-workers-svelte
Last synced: about 2 months ago
JSON representation
Example repository for running a sveltejs/sveltekit website on Cloudflare Workers.
- Host: GitHub
- URL: https://github.com/hazcod/cloudflare-workers-svelte
- Owner: hazcod
- Created: 2021-11-25T07:02:02.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T18:52:59.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T23:41:00.651Z (2 months ago)
- Language: Svelte
- Homepage:
- Size: 1.17 MB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-svelte-kit - SvelteKit on Edge(Cloudflare Workers)
README
# cloudflare-workers-svelte
Example repository on how to run a SvelteJS (SvelteKit) website on Cloudflare Workers.
## Overview
- `src/`: the SvelteJS source code which consists of HTML, TypeScript and Sass.
- `lib/`: the SvelteJS library files which indicate shared code.
- `static/`: any public assets such as images.
- `.cloudflare/`: the automatically generated Cloudflare Worker assets (from `npm install`), do not edit.
- `.eslintrc.cjs`: the ESLint configuration for the TypeScript files.
- `Makefile`: the file which builds the SvelteJS website.
- `svelte.config.js`: the SvelteJS configuration file.
- `tsconfig.json`: the TypeScript configuration file.
- `wrangler.toml`: the wrangler/miniflare configuration file to run locally or deploy to Cloudflare Workers.## Usage
```shell
% make install dev
```