mcuello17
mcuello17
CDCloudflare Developers
Created by mcuello17 on 9/6/2023 in #pages-help
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!
3 replies