Are there any examples or projects using cloudflare pages with cloudflare function and option for d

Are there any examples or projects using cloudflare pages with cloudflare function and option for debugging/running locally? I can't get wrangler to work with vite in dev. I run it with
yarn rm -rf dist && vite build && wrangler dev ./dist.

Vite and wrangler both run but the /functions/api are non responsive when I fetch('/api/...').
Was this page helpful?