Pages Functions with SvelteKit
Am I being dense, but should my
/functions
folder be in my root dir for the build? or my actual top level of a repo? Have tried both and neither seem to be working?
Also are files with a -
supported i.e /functions/early-access.js
to domain.com/early-access
?
Trying to get a simple hello world function working and just getting a 404 with nothing else 🥲1 Reply
Ignore, I did not see this: https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site/#functions-setup
Deploy a Svelte site · Cloudflare Pages docs
Svelte is an increasingly popular, open-source framework for building user interfaces and web applications. Unlike most frameworks, Svelte is …