1import{o as i,a as s}from"../chunks/chunk-CO8Q6Bmb.js";import{j as e}from"../chunks/chunk-BFdXRvUK.js";import{L as o}from"../chunks/chunk-Dw8dSZQ3.js";import{W as d}from"../chunks/chunk-H-gvGLNr.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{a as n}from"../chunks/chunk-BGLdkx3q.js";import{E as l}from"../chunks/chunk-BHKEoXl2.js";/* empty css */import"../chunks/chunk-CZlX5OcT.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const p=[{pageSectionId:"see-also",pageSectionLevel:2,pageSectionTitle:"See also"}];function a(t){const r={a:"a",blockquote:"blockquote",li:"li",p:"p",ul:"ul",...n(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsxs(d,{children:[e.jsxs(r.p,{children:["Cloudflare Pages is ",e.jsx(r.a,{href:"https://blog.cloudflare.com/full-stack-development-on-cloudflare-workers/#start-with-workers",children:"being deprecated"})," â you can still use it, but the official recommendation is to start new projects with ",e.jsx(r.a,{href:"https://workers.cloudflare.com",children:"Cloudflare Workers"})," instead:"]}),e.jsxs(r.ul,{children:[` 2`,e.jsxs(r.li,{children:[` 3`,e.jsx(o,{href:"/cloudflare",children:"Vike Docs > Deploy > Cloudflare"}),` 4`]}),` 5`]}),e.jsxs(r.p,{children:["It also documents how to deploy fully static websites (aka ",e.jsx(o,{href:"/pre-rendering#ssg",children:"SSG / pre-rendered apps"}),") with Cloudflare."]})]}),` 6`,e.jsx(r.p,{children:"For a manual integration, we generally recommend using:"}),` 7`,e.jsxs(r.ul,{children:[` 8`,e.jsxs(r.li,{children:[e.jsx(r.a,{href:"https://developers.cloudflare.com/pages/",children:"Cloudflare Pages"})," for static assets and ",e.jsx(o,{href:"/pre-rendering",children:"pre-rendered pages"}),", and"]}),` 9`,e.jsxs(r.li,{children:[e.jsx(r.a,{href:"https://developers.cloudflare.com/pages/platform/functions/",children:"Pages Functions"})," for ",e.jsx(o,{href:"/ssr",children:"SSR'd pages"}),"."]}),` 10`]}),` 11`,e.jsx(r.p,{children:"Examples:"}),` 12`,e.jsxs(r.ul,{children:[` 13`,e.jsxs(r.li,{children:[e.jsx(l,{timestamp:"2024.01",repo:"travis-r6s/vike-cf-pages"})," - Advanced demo showcasing a lot of integrations such as REST, tRPC, GraphQL, Sentry, and Thumbprint."]}),` 14`,e.jsxs(r.li,{children:[` 15`,e.jsx(l,{timestamp:"2022.04",repo:"Immortalin/vite-plugin-ssr-cloudflare-pages-demo"}),` 16`,e.jsxs(r.blockquote,{children:[` 17`,e.jsxs(r.p,{children:["vite-plugin-ssr was the ",e.jsx(r.a,{href:"https://vite-plugin-ssr.com/vike",children:"previous name of Vike"}),"."]}),` 18`]}),` 19`]}),` 20`]}),` 21`,e.jsx("h2",{id:"see-also",children:"See also"}),` 22`,e.jsxs(r.ul,{children:[` 23`,e.jsxs(r.li,{children:[` 24`,e.jsx(o,{href:"/cloudflare"}),` 25`]}),` 26`]})]})}function u(t={}){const{wrapper:r}={...n(),...t.components};return r?e.jsx(r,{...t,children:e.jsx(a,{...t})}):a(t)}const c=Object.freeze(Object.defineProperty({__proto__:null,default:u,pageSectionsExport:p},Symbol.toStringTag,{value:"Module"})),U={hasServerOnlyHook:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!1}},isClientRuntimeLoaded:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},guardEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},onRenderClient:{type:"standard",definedAtData:{filePathToShowToUser:"@brillout/docpress/renderer/onRenderClient",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:s}},onCreatePageContext:{type:"cumulative",definedAtData:[{filePathToShowToUser:"@brillout/docpress/renderer/onCreatePageContext",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"pointer-import",value:i}]},Page:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/cloudflare-pages/+Page.mdx",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:c}},hydrationCanBeAborted:{type:"standard",definedAtData:{filePathToShowToUser:"@brillout/docpress/config",fileExportPathToShowToUser:["default","hydrationCanBeAborted"]},valueSerialized:{type:"js-serialized",value:!0}}};export{U as configValuesSerialized};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.