Page functions on a docusaurus project

I'm working on a docusaurus project in which I want to add page functions to use as proxys. I've tried both leaving my functions folder inside my root, as well as moving it to my static folder following docusaurus docs (https://docusaurus.io/docs/static-assets) None of these solutions worked in my local environment. I tried both with docusaurus start and docusaurus serve.
npx wrangler pages dev --proxy 8081 --port 3000 -- docusaurus start
npx wrangler pages dev --proxy 8081 --port 3000 -- docusaurus start
But all I get is: No functions. Shimming... If anyone has some guidance on what could be breaking, I would really appreciate the help!
2 Replies
Avi
Avi15mo ago
did you ever figure this out? running into the same issue trying to get wrangler pages dev to proxy my vite server
mcuello17
mcuello17OP15mo ago
I got it working on CF but not on my local. For CF I needed to put my functions folder on root instead of the static folder.
Want results from more Discord servers?
Add your server