Skip to content

SvelteKit app styled with Tailwind for deployment to Cloudflare pages

Notifications You must be signed in to change notification settings

parente/sveltekit-tailwind-pages

Repository files navigation

sveltekit-tailwind-pages

SvelteKit app styled with Tailwind for deployment to Cloudflare pages

Local

npm install
npm run dev # or
wrangler pages dev -- npm run dev # or
npm run preview

Pages Setup

Must be done with click ops on the Cloudflare dashboard

  • Create a Pages project
  • Choose the GitHub repository
  • Choose SvelteKit as the app framework
  • Enable fast builds
  • Set NODE_VERSION=16 as a build environment variable
  • Enable preview branch protection with Cloudflare Access
  • Optionally configure production branch protection with Cloudflare Access
  • Optionally configure Cloudflare KV and Durable objects

About

SvelteKit app styled with Tailwind for deployment to Cloudflare pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published