Cloudflare Pages
stackfoundry/cloudflare-pagesFreeBlock
Alternate deploy path for static and edge-friendly apps.
Install it
npx shadcn@latest add https://stackfoundry.dev/r/cloudflare-pages.jsonSource
1export type CloudflarePagesConfig = {2 enabled?: boolean;3 environment?: "development" | "preview" | "production";4 metadata?: Record<string, unknown>;5};67export function createCloudflarePagesConfig(config: CloudflarePagesConfig = {}) {8 return {9 enabled: config.enabled ?? true,10 environment: config.environment ?? "development",11 metadata: config.metadata ?? {},12 };13}1415export const CloudflarePagesChecklist = [16 "Choose Pages only when the app is edge/static compatible",17 "Document build command and output directory",18 "Bind preview and production vars separately",19 "Verify custom domains and Functions compatibility"20] as const;
Files it writes
More from stackfoundry
All 157 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Account Deletionaccount-deletion | stackfoundry | Blocks | Free | no deps · 3 files | |
| Account Modesaccount-modes | stackfoundry | Blocks | Free | no deps · 3 files | |
| Account Settingsaccount-settings | stackfoundry | Blocks | Free | no deps · 2 files | |
| Admin Consoleadmin-console | stackfoundry | Blocks | Free | no deps · 2 files | |
| Agent-Ready Installsagent-ready-installs | stackfoundry | Blocks | Free | no deps · 13 files | |
| AI Chatai-chat | stackfoundry | Blocks | Free | 3 deps · 4 files | |
| AI Chatbot SDKai-chatbot-sdk | stackfoundry | Blocks | Free | 3 deps · 2 files | |
| AI Elementsai-elements | stackfoundry | Blocks | Free | no deps · 5 files |
