Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/parente/sveltekit-tailwind-pages

SvelteKit app styled with Tailwind for deployment to Cloudflare pages
https://github.com/parente/sveltekit-tailwind-pages

Last synced: 1 day ago
JSON representation

SvelteKit app styled with Tailwind for deployment to Cloudflare pages

Awesome Lists containing this project

README

        

# sveltekit-tailwind-pages

SvelteKit app styled with Tailwind for deployment to Cloudflare pages

## Local

```bash
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