Skip to content

jldec/pages-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pages-function

https://developers.cloudflare.com/pages/functions/get-started/

pnpm install
pnpm dev      # runs `wrangler pages dev site`
pnpm ship     # runs `wrangler pages deploy site`

Tip

from https://developers.cloudflare.com/pages/get-started/direct-upload/#functions

Drag and drop deployments made from the Cloudflare dashboard do not currently support compiling a functions folder of Pages Functions. To deploy a functions folder, you must use Wrangler. When deploying a project using Wrangler, if a functions folder exists where the command is run, that functions folder will be uploaded with the project.

Releases

No releases published

Packages

No packages published