A SvelteKit app that gives you a random, lovingly-crafted "no" reason, inspired by no-as-a-service.
Install dependencies:
pnpm installStart the development server:
pnpm devOpen localhost:5173 to view the app.
To create a production build:
pnpm buildPreview the production build locally:
pnpm preview- Push your code to GitHub or GitLab.
- Go to Cloudflare Pages and create a new project.
- Set the following build settings:
- Framework preset: SvelteKit
- Build command:
pnpm build - Build output directory:
.svelte-kit/cloudflare - Install command:
pnpm install
- Deploy!
This project uses
@sveltejs/adapter-cloudflarefor seamless Cloudflare deployment.
Lovingly ripped off from no-as-a-service.