#Where do I place CF workers/functions?

3 messages · Page 1 of 1 (latest)

tight coyote
#

I have a statically generated, content driven, nuxt3 site that is deployed on CF pages through the github integration.

Where an I supposed to be placing my workers/functions in my nuxt file structure so it eventually gets compiled to where it should be when generated? So CF pages automatically picks them up and deploys them as CF workers/functions?

neon cosmos
#

I'd just write nitro API routes and let nitro handle it to convert these all into a worker )

tight coyote
#

@neon cosmos thanks, so where in my folder structure does that actually go though?