Deploy to Cloudflare Pages
Connect a repository and ship the static build — the setup every theme in this catalog runs on.
Updated: September 2026·License: Commercial & Personal
Every live preview in this catalog is served from Cloudflare Pages, so this path is the best tested.
From a Git repository
- In the Cloudflare dashboard, open Workers & Pages → Create → Pages → Connect to Git
- Pick your repository
- Set the build settings:
| Setting | Value |
|---|---|
| Framework preset | Astro |
| Build command | npm run build |
| Build output directory | dist |
- Save and Deploy
Every push to your production branch rebuilds and redeploys. Pull requests get their own preview URL.
From your machine
bash
npm run build
npx wrangler pages deploy dist
Node version
If the build fails on a Node version mismatch, pin it with an environment variable in the project settings:
text
NODE_VERSION = 22
Explore production-ready themes
Hand-built Astro themes — SaaS, storefront, portfolio, and dashboard.